mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +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();
|
$oAccount = $this->getAccountFromToken();
|
||||||
if ($this->GetCapa(false, Capa::QUOTA, $oAccount)) {
|
if ($this->GetCapa(false, Capa::QUOTA, $oAccount)) {
|
||||||
try {
|
try {
|
||||||
$aQuota = $this->MailClient()->Quota();
|
// $aQuota = $this->MailClient()->Quota();
|
||||||
// $aQuota = $this->MailClient()->QuotaRoot();
|
$aQuota = $this->MailClient()->QuotaRoot();
|
||||||
$oFolderCollection->quotaUsage = $aQuota ? $aQuota[0] * 1024 : null;
|
$oFolderCollection->quotaUsage = $aQuota ? $aQuota[0] * 1024 : null;
|
||||||
$oFolderCollection->quotaLimit = $aQuota ? $aQuota[1] * 1024 : null;
|
$oFolderCollection->quotaLimit = $aQuota ? $aQuota[1] * 1024 : null;
|
||||||
} catch (\Throwable $oException) {
|
} catch (\Throwable $oException) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue