Skip to content

Commit

Permalink
Fix displaying listinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 14, 2014
1 parent 50fd0a5 commit f8476b8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions imp/lib/Basic/Listinfo.php
Expand Up @@ -29,17 +29,9 @@ protected function _init()
{
global $injector, $page_output;

$imp_mailbox = $this->indices->mailbox->list_ob;
list($m, $u) = $this->indices->getSingle();
$imp_indices = $imp_mailbox->getFullThread($u, $m);

if (!count($imp_indices)) {
throw new IMP_Exception(_("Could not load message."));
}

/* Parse the message. */
try {
$imp_contents = $injector->getInstance('IMP_Factory_Contents')->create(new IMP_Indices($imp_mailbox));
$imp_contents = $injector->getInstance('IMP_Factory_Contents')->create($this->indices);
} catch (IMP_Exception $e) {
throw new IMP_Exception(_("Could not load message."));
}
Expand Down

0 comments on commit f8476b8

Please sign in to comment.