[Pkg-owncloud-commits] [owncloud] 21/28: remove background jobs if they are failing

David Prévot taffit at moszumanska.debian.org
Sat Dec 7 02:33:32 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit e78a309111de3da3f90cad425b8b437532ddae4e
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon Dec 2 13:43:26 2013 +0100

    remove background jobs if they are failing
---
 lib/private/backgroundjob/job.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/backgroundjob/job.php b/lib/private/backgroundjob/job.php
index 2561659..92bd0f8 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);
 		}
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list