checkQuota() requires user object as a parameter

This commit is contained in:
Uwe Steinmann 2015-01-15 11:12:30 +01:00
parent bdaa6dfb02
commit 9be1d40624

View File

@ -45,7 +45,7 @@ class SeedDMS_View_MyAccount extends SeedDMS_Bootstrap_Style {
$this->pageNavigation(getMLText("my_account"), "my_account");
if($quota > 0) {
if(($remain = checkQuota()) < 0) {
if(($remain = checkQuota($user)) < 0) {
$this->warningMsg(getMLText('quota_warning', array('bytes'=>SeedDMS_Core_File::format_filesize(abs($remain)))));
}
}