Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Aug 4, 2014
1 parent 4fb4b05 commit 5fd7c5e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions imp/lib/Ajax/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,7 @@ public function deleteMsgs(IMP_Indices $indices, $changed, $force = false)
}

if ($changed) {
$vp = $this->viewPortData(true);
$this->addTask('viewport', $vp);
$this->addTask('viewport', $this->viewPortData(true));
} elseif (($indices instanceof IMP_Indices_Mailbox) &&
($force || $this->indices->mailbox->hideDeletedMsgs(true))) {
$vp = new IMP_Ajax_Application_Viewport($this->indices->mailbox);
Expand Down

0 comments on commit 5fd7c5e

Please sign in to comment.