summaryrefslogtreecommitdiffstats
path: root/lib/public/backgroundjob.php
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2012-08-12 12:14:27 +0200
committerJakob Sack <mail@jakobsack.de>2012-08-12 12:14:27 +0200
commit4d3d4522f94edf912b469540d533963901f61676 (patch)
treea90de0de8a867a388b1db63cc3dfc370801c7147 /lib/public/backgroundjob.php
parentdeef1f73db14fb988b35439ea185a34b31260af9 (diff)
downloadnextcloud-server-4d3d4522f94edf912b469540d533963901f61676.tar.gz
nextcloud-server-4d3d4522f94edf912b469540d533963901f61676.zip
Backgroundjobs: Fix wrong var names
Diffstat (limited to 'lib/public/backgroundjob.php')
-rw-r--r--lib/public/backgroundjob.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/backgroundjob.php b/lib/public/backgroundjob.php
index 72f4557eb1a..834bebb5c3c 100644
--- a/lib/public/backgroundjob.php
+++ b/lib/public/backgroundjob.php
@@ -100,8 +100,8 @@ class BackgroundJob {
* @param $parameters all useful data as text
* @return id of task
*/
- public static function addQueuedTask( $task, $klass, $method, $parameters ){
- return \OC_BackgroundJob_QueuedTask::add( $task, $klass, $method, $parameters );
+ public static function addQueuedTask( $app, $klass, $method, $parameters ){
+ return \OC_BackgroundJob_QueuedTask::add( $app, $klass, $method, $parameters );
}
/**