if cot connected getQuotaRoots call for capabilities may not get the real capabilities of the server. so wake up the connection by querying for the currentMailbox

This commit is contained in:
Klaus Leithoff 2014-12-05 13:16:24 +00:00
parent 5d02099809
commit f010c36efe

View File

@ -887,6 +887,7 @@ class emailadmin_imapbase
{
static $quota;
if (isset($quota)) return $quota;
$this->icServer->getCurrentMailbox();
if(!$this->icServer->hasCapability('QUOTA')) {
$quota = false;
return false;