[Tickets #9773] Re: Date column not updated after midnight

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Feb 14 03:42:15 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9773
------------------------------------------------------------------------------
  Ticket             | 9773
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | Date column not updated after midnight
  Queue              | IMP
  Version            | Git master
  Type               | Enhancement
  State              | Resolved
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-02-13 20:42) wrote:

An issue might be that you are running 6.1 and I am running 6.2.

Comparing the two, I wonder if this is causing problems (i.e. make  
this change on your file):

diff --git a/imp/lib/Ajax/Application/ListMessages.php  
b/imp/lib/Ajax/Application/ListMessages.php
index 00cd4aa..a084baa 100644
--- a/imp/lib/Ajax/Application/ListMessages.php
+++ b/imp/lib/Ajax/Application/ListMessages.php
@@ -141,7 +141,7 @@ class IMP_Ajax_Application_ListMessages
              $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






More information about the bugs mailing list