From 6b813f56c9208743002456792009dd14b950b8d3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 18 Dec 2015 14:31:27 +0100 Subject: [PATCH] Do not delete background jobs, in case an exception occured This approach is not valid anymore. It initially was added for jobs of non existing apps. But jobs of non-existing apps can not be created so they will never be executed and so this call just catches other cases which were not intended. This reverts commit 4f4ad72460f8ef299cd1235b5774c5f121cca430. --- lib/private/backgroundjob/job.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/private/backgroundjob/job.php b/lib/private/backgroundjob/job.php index 88682cd09b..40a27491fe 100644 --- a/lib/private/backgroundjob/job.php +++ b/lib/private/backgroundjob/job.php @@ -54,7 +54,6 @@ abstract class Job implements IJob { if ($logger) { $logger->error('Error while running background job: ' . $e->getMessage()); } - $jobList->remove($this, $this->argument); } }