From 55586c784eb8b72307685c4e83f82912d9131f3e Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Tue, 2 Oct 2018 22:44:39 +1300 Subject: [PATCH] Remove use of $old_attendees Closes #141 --- inc/schedule-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/schedule-functions.php b/inc/schedule-functions.php index b6c09b97..c3ce82e7 100644 --- a/inc/schedule-functions.php +++ b/inc/schedule-functions.php @@ -218,7 +218,7 @@ function doItipOrganizerCancel( vCalendar $vcal ) { global $request; $attendees = $vcal->GetAttendees(); - if ( count($attendees) == 0 && count($old_attendees) == 0 ) { + if ( count($attendees) == 0 ) { dbg_error_log( 'schedule', 'Event has no attendees - no scheduling required.', count($attendees) ); return true; }