From 77fd70275cfdaaa535b79e3209967e86be5f0aa1 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 21 Jan 2014 14:48:30 +0000 Subject: [PATCH] revert async_vacation changes --- mail/inc/class.mail_bosieve.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mail/inc/class.mail_bosieve.inc.php b/mail/inc/class.mail_bosieve.inc.php index 2be57d8941..06fe1937c7 100644 --- a/mail/inc/class.mail_bosieve.inc.php +++ b/mail/inc/class.mail_bosieve.inc.php @@ -27,11 +27,11 @@ class mail_bosieve // unset the fm_preferences session object, to force the reload/rebuild $_restoreSession = false; // as in async, each call may be for a different user - //$bopreferences = CreateObject('felamimail.bopreferences',$_restoreSession); - //$mailPreferences = $bopreferences->getPreferences(); - //$icServer = $mailPreferences->getIncomingServer(0); - $_profile_id=999999; - $icServer = emailadmin_account::read($_profile_id)->imapServer(); + $bopreferences = CreateObject('felamimail.bopreferences',$_restoreSession); + $mailPreferences = $bopreferences->getPreferences(); + $icServer = $mailPreferences->getIncomingServer(0); + //$_profile_id=999999; + //$icServer = emailadmin_account::read($_profile_id)->imapServer(); if ($this->debug) error_log(__CLASS__.'::'.__METHOD__.'->LoginName:'.$icServer->loginName); //error_log(__METHOD__.__LINE__.array2string($_vacation));