From a373f0f458d149d85db4c4a3b8e49eac14065fe1 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Thu, 23 Oct 2014 13:59:12 +0000 Subject: [PATCH] Fix IDE warnings --- mail/inc/class.mail_ui.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail/inc/class.mail_ui.inc.php b/mail/inc/class.mail_ui.inc.php index 2dab793946..6501ecbb5d 100644 --- a/mail/inc/class.mail_ui.inc.php +++ b/mail/inc/class.mail_ui.inc.php @@ -217,7 +217,7 @@ class mail_ui if (mail_bo::$debug) error_log(__METHOD__.__LINE__.'->'.self::$icServerID.'<->'.$_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()); // no icServer Object: something failed big time if (!isset($this->mail_bo->icServer) || $this->mail_bo->icServer->ImapServerId<>$_icServerID) @@ -4033,6 +4033,7 @@ class mail_ui $quota = $this->mail_bo->getQuotaRoot(); } catch (Exception $e) { $quota['limit'] = 'NOT SET'; + error_log(__METHOD__.__LINE__." ".$e->getMessage()); } if($quota !== false && $quota['limit'] != 'NOT SET') {