[dev] task renameSentmailMonthly

Ronan SALMON rsalmon at mbpgroup.com
Thu Sep 29 09:01:54 UTC 2011


Hi all,

I'm trying to trigger IMP task _renameSentmailMonthly for my account  
without success.

How can I change my prefs (in mysql backend) to get that IMP login  
task running on the next login ?


Also, I think there is a typo in  
imp/lib/LoginTasks/Task/RenameSentmailMonthly.php

--- RenameSentmailMonthly.org.php 2011-09-12 08:52:05.000000000 +0200
+++ RenameSentmailMonthly.php 2011-09-29 11:00:06.000000000 +0200
@@ -96,7 +96,7 @@ class IMP_LoginTasks_Task_RenameSentmail
          // @TODO
          $last_maint = $GLOBALS['prefs']->getValue('last_maintenance');
          if (empty($last_maint)) {
-            $last_maintenance = mktime(0, 0, 0, date('m') - 1, 1);
+            $last_maint = mktime(0, 0, 0, date('m') - 1, 1);
          }

          $text = (substr($GLOBALS['language'], 0, 2) == 'en')

Thanks,
Ronan.



More information about the dev mailing list