SAAS-135: Airtime status page reporting free space being incorrectly for Gluster FS mounts
-Done
This commit is contained in:
parent
00a05e146b
commit
7247f75563
2 changed files with 41 additions and 16 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue