From 3ee0f331cc9c22e3a5a4daf27ad11ec9c99b2396 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 4 May 2025 14:20:17 +0000 Subject: Move registration of 'purge_orphaned_scheduled_tasks' into Scheduler. --- classes/RSSUtils.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'classes/RSSUtils.php') diff --git a/classes/RSSUtils.php b/classes/RSSUtils.php index 6ef4860c6..b0cfc4823 100644 --- a/classes/RSSUtils.php +++ b/classes/RSSUtils.php @@ -1702,12 +1702,6 @@ class RSSUtils { $scheduler = Scheduler::getInstance(); - $scheduler->add_scheduled_task('purge_orphaned_scheduled_tasks', '@weekly', - function() use ($scheduler) { - return $scheduler->purge_orphaned_tasks(); - } - ); - $scheduler->add_scheduled_task('purge_orphans', '@daily', function() { Article::_purge_orphans(); -- cgit v1.2.3-54-g00ecf