don't check disk quotas if they're disabled

This commit is contained in:
Antoine Beaupr�� 2014-11-28 21:58:42 +00:00
parent eedb851a50
commit 8cb0e3d1a8
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ class m_quota {
}
reset($this->disk);
if (!empty ($this->disk)) { // Check if there are some disk quota to check
if ($this->disk_quota_enable && !empty ($this->disk)) { // Check if there are some disk quota to check
// Look if there are some cached value
$disk_cached = $mem->session_tempo_params_get('quota_cache_disk');