diff --git a/app/tasks/maintenance.php b/app/tasks/maintenance.php index 1c16ca6911..c61c3dda3c 100644 --- a/app/tasks/maintenance.php +++ b/app/tasks/maintenance.php @@ -126,5 +126,7 @@ $cli notifyDeleteExpiredSessions(); renewCertificates($database); notifyDeleteCache($cacheRetention); + + // TODO: @Meldiron Every probably 24h, look for schedules with active=false, that doesnt have function anymore. Dlete such schedule }, $interval); }); diff --git a/app/workers/deletes.php b/app/workers/deletes.php index 1980c6dc72..9ef593dbb9 100644 --- a/app/workers/deletes.php +++ b/app/workers/deletes.php @@ -418,11 +418,6 @@ class DeletesV1 extends Worker $dbForProject = $this->getProjectDB($project); $functionId = $document->getId(); - /** - * Delete Schedule - */ - // TODO: DeleteDocument schedules collection - /** * Delete Variables */