summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJakob Sack <mail@jakobsack.de>2012-08-12 09:02:20 +0200
committerJakob Sack <mail@jakobsack.de>2012-08-12 09:02:20 +0200
commitdeef1f73db14fb988b35439ea185a34b31260af9 (patch)
tree043ab4fa95c39b9516e15c2bccfa8590ff0ae20b /lib
parent355a1adb3a0f5197468fdb66e85aed2c44a903c4 (diff)
downloadnextcloud-server-deef1f73db14fb988b35439ea185a34b31260af9.tar.gz
nextcloud-server-deef1f73db14fb988b35439ea185a34b31260af9.zip
Backgroundjobs: fix bug in QueuedTask
Diffstat (limited to 'lib')
-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();
}