mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Revert to QuotaRoot for issue #75
This commit is contained in:
parent
89d334b2bd
commit
44cb43bdd8
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ trait Folders
|
|||
$oAccount = $this->getAccountFromToken();
|
||||
if ($this->GetCapa(false, Capa::QUOTA, $oAccount)) {
|
||||
try {
|
||||
$aQuota = $this->MailClient()->Quota();
|
||||
// $aQuota = $this->MailClient()->QuotaRoot();
|
||||
// $aQuota = $this->MailClient()->Quota();
|
||||
$aQuota = $this->MailClient()->QuotaRoot();
|
||||
$oFolderCollection->quotaUsage = $aQuota ? $aQuota[0] * 1024 : null;
|
||||
$oFolderCollection->quotaLimit = $aQuota ? $aQuota[1] * 1024 : null;
|
||||
} catch (\Throwable $oException) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue