summaryrefslogtreecommitdiffstats
path: root/lib/private/backgroundjob
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-02-12 13:52:13 +0100
committerRobin Appelman <icewind@owncloud.com>2014-02-12 13:52:13 +0100
commitd6576c640c429d24a6329573c0dfaf99d82ac867 (patch)
tree5755dfcc46f2f2ba5f4b0487bcb39de4eef55710 /lib/private/backgroundjob
parent62288971cacf9049ec4521d659a17857ac42d139 (diff)
downloadnextcloud-server-d6576c640c429d24a6329573c0dfaf99d82ac867.tar.gz
nextcloud-server-d6576c640c429d24a6329573c0dfaf99d82ac867.zip
Add unit tests for JobList
Diffstat (limited to 'lib/private/backgroundjob')
-rw-r--r--lib/private/backgroundjob/joblist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/backgroundjob/joblist.php b/lib/private/backgroundjob/joblist.php
index 5ec81dc3fc6..586e99a3cbc 100644
--- a/lib/private/backgroundjob/joblist.php
+++ b/lib/private/backgroundjob/joblist.php
@@ -171,7 +171,7 @@ class JobList implements IJobList {
* @return int
*/
public function getLastJob() {
- $this->config->getAppValue('backgroundjob', 'lastjob', 0);
+ return $this->config->getAppValue('backgroundjob', 'lastjob', 0);
}
/**