mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Fix IDE warnings
This commit is contained in:
parent
fed76559fa
commit
a373f0f458
@ -217,7 +217,7 @@ class mail_ui
|
|||||||
if (mail_bo::$debug) error_log(__METHOD__.__LINE__.'->'.self::$icServerID.'<->'.$_icServerID);
|
if (mail_bo::$debug) error_log(__METHOD__.__LINE__.'->'.self::$icServerID.'<->'.$_icServerID);
|
||||||
|
|
||||||
if ($unsetCache) emailadmin_imapbase::unsetCachedObjects(self::$icServerID);
|
if ($unsetCache) emailadmin_imapbase::unsetCachedObjects(self::$icServerID);
|
||||||
$this->mail_bo = mail_bo::getInstance(false,self::$icServerID,$_validate=true, $_oldImapServerObject=false, $_reuseCache=true);
|
$this->mail_bo = mail_bo::getInstance(false,self::$icServerID,true, false, true);
|
||||||
if (mail_bo::$debug) error_log(__METHOD__.__LINE__.' Fetched IC Server:'.self::$icServerID.'/'.$this->mail_bo->profileID.':'.function_backtrace());
|
if (mail_bo::$debug) error_log(__METHOD__.__LINE__.' Fetched IC Server:'.self::$icServerID.'/'.$this->mail_bo->profileID.':'.function_backtrace());
|
||||||
// no icServer Object: something failed big time
|
// no icServer Object: something failed big time
|
||||||
if (!isset($this->mail_bo->icServer) || $this->mail_bo->icServer->ImapServerId<>$_icServerID)
|
if (!isset($this->mail_bo->icServer) || $this->mail_bo->icServer->ImapServerId<>$_icServerID)
|
||||||
@ -4033,6 +4033,7 @@ class mail_ui
|
|||||||
$quota = $this->mail_bo->getQuotaRoot();
|
$quota = $this->mail_bo->getQuotaRoot();
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$quota['limit'] = 'NOT SET';
|
$quota['limit'] = 'NOT SET';
|
||||||
|
error_log(__METHOD__.__LINE__." ".$e->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
if($quota !== false && $quota['limit'] != 'NOT SET') {
|
if($quota !== false && $quota['limit'] != 'NOT SET') {
|
||||||
|
Loading…
Reference in New Issue
Block a user