diff options
author | Marcel Klehr <mklehr@gmx.net> | 2024-04-30 16:37:13 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2024-05-14 11:38:39 +0200 |
commit | 17486ad15ba1575d7e31d8d4195a86cd9ef450b0 (patch) | |
tree | 68e058c8d37256e9306fae722a64e3efbf3cb251 | |
parent | 4b2acee64be7331061f88c9b2443fa74edd488d4 (diff) | |
download | nextcloud-server-17486ad15ba1575d7e31d8d4195a86cd9ef450b0.tar.gz nextcloud-server-17486ad15ba1575d7e31d8d4195a86cd9ef450b0.zip |
fix: Add RemoveOldTasksBackgroundJob to repair step that instantiates it
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
-rw-r--r-- | lib/private/Repair/AddRemoveOldTasksBackgroundJob.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Repair/AddRemoveOldTasksBackgroundJob.php b/lib/private/Repair/AddRemoveOldTasksBackgroundJob.php index 00badbb726d..62918dbae5f 100644 --- a/lib/private/Repair/AddRemoveOldTasksBackgroundJob.php +++ b/lib/private/Repair/AddRemoveOldTasksBackgroundJob.php @@ -27,6 +27,7 @@ namespace OC\Repair; use OC\TextProcessing\RemoveOldTasksBackgroundJob as RemoveOldTextProcessingTasksBackgroundJob; use OC\TextToImage\RemoveOldTasksBackgroundJob as RemoveOldTextToImageTasksBackgroundJob; +use OC\TaskProcessing\RemoveOldTasksBackgroundJob; use OCP\BackgroundJob\IJobList; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -39,11 +40,12 @@ class AddRemoveOldTasksBackgroundJob implements IRepairStep { } public function getName(): string { - return 'Add AI tasks cleanup job'; + return 'Add AI tasks cleanup jobs'; } public function run(IOutput $output) { $this->jobList->add(RemoveOldTextProcessingTasksBackgroundJob::class); $this->jobList->add(RemoveOldTextToImageTasksBackgroundJob::class); + $this->jobList->add(RemoveOldTasksBackgroundJob::class); } } |