Summary | Maintenance: purge recurring events finished |
Queue | Kronolith |
Queue Version | FRAMEWORK_3 |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | patrick.abiven (at) apitech (dot) fr |
Created | 06/02/2010 (5509 days ago) |
Due | |
Updated | 06/02/2010 (5509 days ago) |
Assigned | |
Resolved | 06/02/2010 (5509 days ago) |
Milestone | |
Patch | No |
Assigned to Michael Rubinsky
State ⇒ Resolved
Version ⇒ FRAMEWORK_3
Thanks!
Delete recurring events also, if we are past the last recurrence.
Ticket: 9071Author: patrick.abiven@apitech.fr Signed Off By:mrubinsk@horde.org
http://git.horde.org/diff.php/kronolith/lib/LoginTasks/Task/PurgeEvents.php?rt=horde-git&r1=e911eaed72d30ca093d4851d9be09d59096acede&r2=747800995687a3bb06514c8f4d49149110dc803a
Delete recurring events also, if we are past the last recurrence.
Bug: 9071Submitted by: patrick.abiven@apitech.fr
http://cvs.horde.org/diff.php/kronolith/lib/Maintenance/Task/purge_events.php?rt=horde&r1=1.1.2.4&r2=1.1.2.5&ty=u
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ Maintenance: purge recurring events finished
Type ⇒ Enhancement
State ⇒ New
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