diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-12-02 13:43:26 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-12-02 13:43:26 +0100 |
commit | 4f4ad72460f8ef299cd1235b5774c5f121cca430 (patch) | |
tree | c40c2f51456085d176868bfe7e6fbbbb82571ce7 /lib/private/backgroundjob | |
parent | 35bb6f7e3a4df325e594e1d206520e89014f2a42 (diff) | |
download | nextcloud-server-4f4ad72460f8ef299cd1235b5774c5f121cca430.tar.gz nextcloud-server-4f4ad72460f8ef299cd1235b5774c5f121cca430.zip |
remove background jobs if they are failing
Diffstat (limited to 'lib/private/backgroundjob')
-rw-r--r-- | lib/private/backgroundjob/job.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/backgroundjob/job.php b/lib/private/backgroundjob/job.php index 25616597504..92bd0f8fdbd 100644 --- a/lib/private/backgroundjob/job.php +++ b/lib/private/backgroundjob/job.php @@ -36,6 +36,7 @@ abstract class Job { if ($logger) { $logger->error('Error while running background job: ' . $e->getMessage()); } + $jobList->remove($this, $this->argument); } } |