Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Oct 11, 2013
1 parent bcbfa41 commit 84a9204
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions imp/lib/Basic/Search.php
Expand Up @@ -459,11 +459,8 @@ protected function _init()
$js_vars['ImpSearch.allsearch'] = IMP_Mailbox::formTo(IMP_Search_Query::ALLSEARCH);
$ob = $injector->getInstance('IMP_Search_Ui')->getSearchMboxList();
$mbox_list = $ob->mbox_list;
$view->subscribe = $prefs->getValue('subscribe');
$view->tree = $ob->tree->getTree();

if ($prefs->getValue('subscribe')) {
$view->subscribe = true;
}
}

/* Prepare the topbar. */
Expand Down

0 comments on commit 84a9204

Please sign in to comment.