* eMail: reset possible default ActiveProfileID in preferences

This commit is contained in:
Klaus Leithoff 2013-07-09 08:32:26 +00:00
parent 18c0bd1c38
commit 90d55d2722

View File

@ -152,6 +152,7 @@ class felamimail_hooks
//$identities[0] = $defaultIdentity->realName.' '.$defaultIdentity->organization.' <'.$defaultIdentity->emailAddress.'>'; //$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)) { if($bofelamimail->openConnection($profileID)) {
$folderObjects = $bofelamimail->getFolderObjects(true, false); $folderObjects = $bofelamimail->getFolderObjects(true, false);
foreach($folderObjects as $folderName => $folderInfo) { foreach($folderObjects as $folderName => $folderInfo) {