diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-18 14:31:27 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2016-01-04 13:28:32 +0100 |
commit | fa206d550f5ffb5d366092cfedc28eec08435a7e (patch) | |
tree | cd6ac93a120134a873b5c8d2ea80fe9d3813c1d7 | |
parent | 4e3ace33d18eb1e7ed4c1a975f7d9313b48bf44e (diff) | |
download | nextcloud-server-fa206d550f5ffb5d366092cfedc28eec08435a7e.tar.gz nextcloud-server-fa206d550f5ffb5d366092cfedc28eec08435a7e.zip |
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.
-rw-r--r-- | lib/private/backgroundjob/job.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/private/backgroundjob/job.php b/lib/private/backgroundjob/job.php index 88682cd09bb..40a27491fe6 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); } } |