diff options
Diffstat (limited to 'lib/public/backgroundjob.php')
-rw-r--r-- | lib/public/backgroundjob.php | 4 |
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 ); } /** |