From 4d3d4522f94edf912b469540d533963901f61676 Mon Sep 17 00:00:00 2001 From: Jakob Sack Date: Sun, 12 Aug 2012 12:14:27 +0200 Subject: Backgroundjobs: Fix wrong var names --- lib/public/backgroundjob.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/public/backgroundjob.php') 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 ); } /** -- cgit v1.2.3