using session control for felamimail/emailadmin, to control the loading of preferences for the setting of vacations by date by async job (user was not changed (since session was reused), when several users wanted to change their vacation message by date via async job at the same day)

This commit is contained in:
Klaus Leithoff 2010-02-17 10:16:53 +00:00
parent ef0258a96d
commit a9cadc3230

View File

@ -150,7 +150,8 @@
function async_vacation($_vacation)
{
if ($this->debug) error_log(__CLASS__.'::'.__METHOD__.'('.print_r($_vacation,true).')');
$bopreferences =& CreateObject('felamimail.bopreferences');
$_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);