gunnar: server/kolab-webadmin/kolab-webadmin/www/admin/sharedfolder sf.php.in, 1.9, 1.10

cvs at kolab.org cvs at kolab.org
Thu Jul 12 18:28:26 CEST 2007


Author: gunnar

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/sharedfolder
In directory doto:/tmp/cvs-serv1206/kolab-webadmin/www/admin/sharedfolder

Modified Files:
	sf.php.in 
Log Message:
Remove code duplications.

Index: sf.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/sharedfolder/sf.php.in,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- sf.php.in	12 Jul 2007 05:17:31 -0000	1.9
+++ sf.php.in	12 Jul 2007 16:28:23 -0000	1.10
@@ -25,18 +25,6 @@
    array_push($errors, _("Error: You don't have Permissions to access this Menu"));
 }
 
-// Due to a cyrus imapd bug we can't currently
-// support quotas over 4095 MB, see issue1262
-function checkquota( $form, $key, $value )
-{
-	if( empty($value) ) return ''; // OK
-	else if( $value >= 4096 ) return _('Quota must be smaller than 4096');
-	else if( $value < 0 ) return _('Quota can not be negative');
-	else if( !is_numeric($value) ) return _('Quota must be a number');
-	else if( (int) $value != $value ) return _('Quota must be an integer');
-	else return '';
-}
-
 require_once('@kolab_php_module_prefix at admin/include/menu.php');
 
 function fill_form_for_modify( &$form, &$ldap_object ) {





More information about the commits mailing list