diff --git a/src/Appwrite/Platform/Tasks/ScheduleExecutions.php b/src/Appwrite/Platform/Tasks/ScheduleExecutions.php index 7d4ac70091..47813de7ba 100644 --- a/src/Appwrite/Platform/Tasks/ScheduleExecutions.php +++ b/src/Appwrite/Platform/Tasks/ScheduleExecutions.php @@ -96,10 +96,10 @@ class ScheduleExecutions extends ScheduleBase 'schedules', $schedule['$id'], ); - - unset($this->schedules[$schedule['$sequence']]); } }); + + unset($this->schedules[$schedule['$sequence']]); } } }