SAAS-135: Airtime status page reporting free space being incorrectly for Gluster FS mounts

-Done
This commit is contained in:
Martin Konecny 2012-01-04 14:18:40 -05:00
parent 00a05e146b
commit 7247f75563
2 changed files with 41 additions and 16 deletions

View file

@ -680,6 +680,18 @@ class Application_Model_Preference
return $val;
}
public static function SetDiskQuota($value){
self::SetValue("disk_quota", $value, false);
}
public static function GetDiskQuota(){
$val = self::GetValue("disk_quota");
if(strlen($val) == 0) {
$val = "0";
}
return $val;
}
/* User specific preferences end */
}