diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-18 14:31:27 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-18 14:31:27 +0100 |
commit | 6b813f56c9208743002456792009dd14b950b8d3 (patch) | |
tree | e3fac16574096e16102eadb3eb4594c92b0b2bef | |
parent | 22d1b1285e970447f532919368ebffeeb8c2ebf7 (diff) | |
download | nextcloud-server-6b813f56c9208743002456792009dd14b950b8d3.tar.gz nextcloud-server-6b813f56c9208743002456792009dd14b950b8d3.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); } } |