revert changes introduced with r43681, as issue is fixed in bo_tracking and handling of GLOBALS[info][user][account_id]

This commit is contained in:
Klaus Leithoff 2013-09-02 11:34:38 +00:00
parent 55b0081103
commit d5c2a03f51

View File

@ -41,7 +41,7 @@ class send extends egw_mailer
$this->CharSet = translation::charset();
$this->IsSmtp();
$restoreSession = $getUserDefinedProfiles = false; // no caching for profiles used for notification any more
$restoreSession = $getUserDefinedProfiles = true;
// if dontUseUserDefinedProfiles is set to yes/true/1 dont restore the session AND dont retrieve UserdefinedAccount settings
$notification_config = config::read('notifications');
if ($notification_config['dontUseUserDefinedProfiles']) $restoreSession = $getUserDefinedProfiles = false;