[dev] task renameSentmailMonthly
Jan Schneider
jan at horde.org
Fri Sep 30 08:25:14 UTC 2011
Zitat von Ronan SALMON <rsalmon at mbpgroup.com>:
> Hi all,
>
> I'm trying to trigger IMP task _renameSentmailMonthly for my account
> without success.
Do any login tasks work for you? http://bugs.horde.org/ticket/9767
> 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')
Fixed.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list