sproctor / php-calendar

PHP-Calendar
http://www.php-calendar.org/
Apache License 2.0
140 stars 67 forks source link

Don't remove all occurrences on event modification #51

Open sproctor opened 11 years ago

sproctor commented 11 years ago

Instead we should make a list of old occurrences. Run through the list of occurrences to be created. Where an occurrence to be created is on the old list, remove it from the old list, otherwise create the occurrence in the DB. After all of the new occurrences have been processed, any occurrences on the old list should have their DB entries removed.