diff options
Diffstat (limited to 'lib/backgroundjob/queuedtask.php')
-rw-r--r-- | lib/backgroundjob/queuedtask.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backgroundjob/queuedtask.php b/lib/backgroundjob/queuedtask.php index 941af1c647b..68ba97c1e39 100644 --- a/lib/backgroundjob/queuedtask.php +++ b/lib/backgroundjob/queuedtask.php @@ -81,7 +81,7 @@ class OC_BackgroundJob_QueuedTask{ * @param $parameters all useful data as text * @return id of task */ - public static function add( $task, $klass, $method, $parameters ){ + public static function add( $app, $klass, $method, $parameters ){ $stmt = OC_DB::prepare( 'INSERT INTO *PREFIX*queuedtasks (app, klass, method, parameters) VALUES(?,?,?,?)' ); $result = $stmt->execute(array($app, $klass, $method, $parameters )); |