From: Michael M Slusarz Date: Wed, 18 Aug 2010 07:52:55 +0000 (-0600) Subject: small optimization X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=425d5cc35ea94968e55cead7e29490b570b610e4;p=horde.git small optimization --- diff --git a/imp/lib/Views/ListMessages.php b/imp/lib/Views/ListMessages.php index 02449abe1..fdf16def9 100644 --- a/imp/lib/Views/ListMessages.php +++ b/imp/lib/Views/ListMessages.php @@ -307,8 +307,7 @@ class IMP_Views_ListMessages } catch (Horde_Imap_Client_Exception $e) {} if ($sortpref['by'] == Horde_Imap_Client::SORT_THREAD) { - $threadob = $imp_mailbox->getThreadOb(); - $imp_thread = new IMP_Imap_Thread($threadob); + $imp_thread = new IMP_Imap_Thread($imp_mailbox->getThreadOb()); $md->thread = $imp_thread->getThreadTreeOb($msglist, $sortpref['dir']); } } else {