Changeset 3887 for branches/2.2/filemanager/inc/class.uiconfig.inc.php
- Timestamp:
- 03/22/11 10:26:07 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2/filemanager/inc/class.uiconfig.inc.php
r3875 r3887 480 480 $size = ($_POST['val']) * 1; 481 481 482 $eAdminDbFunctions = CreateObject('expressoAdmin1_2.db_functions'); 483 if($eAdminDbFunctions->use_cota_control()) { 484 $eAdminFunctions = CreateObject('expressoAdmin1_2.functions'); 485 486 if(!$eAdminFunctions->has_file_disk_quota($name,$size)){ 487 echo lang("not enough quota"); 488 return; 489 } 490 491 } 492 482 493 /* See if quota exists or not */ 483 494 $query = "SELECT count(directory) FROM phpgw_vfs_quota WHERE directory = '".$name."' LIMIT 1";
Note: See TracChangeset
for help on using the changeset viewer.