From: Michael M Slusarz Date: Wed, 6 Oct 2010 18:12:34 +0000 (-0600) Subject: Keep sorts of persistent search mailboxes X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=ed546795d723eb0041e2fa3f2998da6ec20a71b3;p=horde.git Keep sorts of persistent search mailboxes --- diff --git a/imp/lib/LoginTasks/SystemTask/GarbageCollection.php b/imp/lib/LoginTasks/SystemTask/GarbageCollection.php index 73fa76da3..89d40f79e 100644 --- a/imp/lib/LoginTasks/SystemTask/GarbageCollection.php +++ b/imp/lib/LoginTasks/SystemTask/GarbageCollection.php @@ -46,7 +46,7 @@ class IMP_LoginTasks_SystemTask_GarbageCollection extends Horde_LoginTasks_Syste $sortpref = @unserialize($GLOBALS['prefs']->getValue('sortpref')); foreach (array_keys($sortpref) as $key) { - if ($imp_search[$key]) { + if ($imp_search->isSearchMbox($key) && !$imp_search[$key]) { unset($sortpref[$key]); $update = true; }