From 90d55d27228cce0ff9a9a25a45da0b84dcc57105 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 9 Jul 2013 08:32:26 +0000 Subject: [PATCH] * eMail: reset possible default ActiveProfileID in preferences --- felamimail/inc/class.felamimail_hooks.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/felamimail/inc/class.felamimail_hooks.inc.php b/felamimail/inc/class.felamimail_hooks.inc.php index 83c5132e98..805bcb8ac3 100644 --- a/felamimail/inc/class.felamimail_hooks.inc.php +++ b/felamimail/inc/class.felamimail_hooks.inc.php @@ -152,6 +152,7 @@ class felamimail_hooks //$identities[0] = $defaultIdentity->realName.' '.$defaultIdentity->organization.' <'.$defaultIdentity->emailAddress.'>'; } } + if (isset($GLOBALS['egw']->preferences->default['felamimail']['ActiveProfileID'])) unset($GLOBALS['egw']->preferences->default['felamimail']['ActiveProfileID']); if($bofelamimail->openConnection($profileID)) { $folderObjects = $bofelamimail->getFolderObjects(true, false); foreach($folderObjects as $folderName => $folderInfo) {