[Tickets #9071] Maintenance: purge recurring events finished

bugs at horde.org bugs at horde.org
Wed Jun 2 07:47:10 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/9071
------------------------------------------------------------------------------
  Ticket             | 9071
  Created By         | patrick.abiven at apitech.fr
  Summary            | Maintenance: purge recurring events finished
  Queue              | Kronolith
  Version            | 2.3.4
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


patrick.abiven at apitech.fr (2010-06-02 03:47) wrote:

Hello
If we want to purge recurring events whose last occurence was before  
the $del_time, we can add a line in  
kronolith/lib/Maintenance/Tasks/purge_events.php

         foreach ($events as $event) {
             if (!$event->recurs()
+           || $event->recurrence->nextRecurrence($del_time) == false ) {

Regards
Patrick






More information about the bugs mailing list