Changeset 3915
- Timestamp:
- 03/25/11 14:29:37 (12 years ago)
- Location:
- branches/2.2/expressoAdmin1_2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/expressoAdmin1_2/inc/class.bosectors.inc.php
r3887 r3915 145 145 || (isset($_POST['users_quota']) ) 146 146 || (isset($_POST['file_manager_quota']) )) { //se for passado alguma coisa, lógico 147 148 $file_manager_space = $this->functions->get_actual_disk_usage($_POST["context"],'FileManager'); 149 if($_POST["file_manager_quota"]<$file_manager_space){ 150 $_POST['error_messages'] = lang("Theres more disk space in use than the quota. It needs to be more than %1 MB",$file_manager_space); 151 $_GET['context'] = $_POST["context"]; 152 ExecMethod('expressoAdmin1_2.uisectors.edit_sector'); 153 return false; 154 } 155 147 156 if(!$controlled_by_quota) { 148 157 $ldap_mod_add['objectClass'][] = 'phpgwQuotaControlled';
Note: See TracChangeset
for help on using the changeset viewer.