mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-09 13:06:14 +00:00
checkQuota() requires user object as a parameter
This commit is contained in:
parent
bdaa6dfb02
commit
9be1d40624
|
@ -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)))));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user