Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2012-08-12 14:14:27 +0400
committerJakob Sack <mail@jakobsack.de>2012-08-12 14:14:27 +0400
commit4d3d4522f94edf912b469540d533963901f61676 (patch)
treea90de0de8a867a388b1db63cc3dfc370801c7147 /lib/backgroundjob
parentdeef1f73db14fb988b35439ea185a34b31260af9 (diff)
Backgroundjobs: Fix wrong var names
Diffstat (limited to 'lib/backgroundjob')
-rw-r--r--lib/backgroundjob/queuedtask.php2
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 ));