Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 13, 2014
1 parent 5a0bc00 commit eeb625c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions imp/lib/Maillog/Storage/Mdnsent.php
Expand Up @@ -34,11 +34,9 @@ public function saveLog(
return false;
}

list($mbox, $uid) = $msg->indices->getSingle();

return $injector->getInstance('IMP_Message')->flag(array(
'add' => array(Horde_Imap_Client::FLAG_MDNSENT)
), $mbox->getIndicesOb($uid), array(
), $msg->indices, array(
'silent' => true
));
}
Expand Down

0 comments on commit eeb625c

Please sign in to comment.