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 11:02:20 +0400
committerJakob Sack <mail@jakobsack.de>2012-08-12 11:02:20 +0400
commitdeef1f73db14fb988b35439ea185a34b31260af9 (patch)
tree043ab4fa95c39b9516e15c2bccfa8590ff0ae20b /lib/backgroundjob
parent355a1adb3a0f5197468fdb66e85aed2c44a903c4 (diff)
Backgroundjobs: fix bug in QueuedTask
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 da5d4ddc694..941af1c647b 100644
--- a/lib/backgroundjob/queuedtask.php
+++ b/lib/backgroundjob/queuedtask.php
@@ -83,7 +83,7 @@ class OC_BackgroundJob_QueuedTask{
*/
public static function add( $task, $klass, $method, $parameters ){
$stmt = OC_DB::prepare( 'INSERT INTO *PREFIX*queuedtasks (app, klass, method, parameters) VALUES(?,?,?,?)' );
- $result = $stmt->execute(array($app, $klass, $method, $parameters, time));
+ $result = $stmt->execute(array($app, $klass, $method, $parameters ));
return OC_DB::insertid();
}