Skip to content

Commit

Permalink
Cleaner when written this way
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 6, 2014
1 parent 57df2cd commit 8c6b502
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Ajax/Application/ListMessages.php
Expand Up @@ -141,7 +141,7 @@ public function listMessages($args)
$parsed = $imp_imap->parseCacheId($args['cacheid']);
$uid_expire = true;

if (!$parsed['date'] != date('z')) {
if ($parsed['date'] == date('z')) {
try {
$imp_imap->sync($mbox, $parsed['token'], array(
'criteria' => Horde_Imap_Client::SYNC_UIDVALIDITY
Expand Down

0 comments on commit 8c6b502

Please sign in to comment.