Bugfix: i broke the QUOTA commands

This commit is contained in:
the-djmaze 2022-06-03 14:38:55 +02:00
parent 70e3e6423e
commit c0994b38e8

View file

@ -48,7 +48,7 @@ trait Quota
if (!$this->IsSupported('QUOTA')) { if (!$this->IsSupported('QUOTA')) {
return null; return null;
} }
$oResponseCollection = $this->SendRequestGetResponse(($root?'GETQUOTAROOT':'GETQUOTA') . " {$this->EscapeFolderName($sFolderName)}"); $oResponseCollection = $this->SendRequest(($root?'GETQUOTAROOT':'GETQUOTA') . " {$this->EscapeFolderName($sFolderName)}");
$aReturn = array(0, 0); $aReturn = array(0, 0);
foreach ($this->yieldUntaggedResponses() as $oResponse) { foreach ($this->yieldUntaggedResponses() as $oResponse) {
if ('QUOTA' === $oResponse->StatusOrIndex if ('QUOTA' === $oResponse->StatusOrIndex