From deef1f73db14fb988b35439ea185a34b31260af9 Mon Sep 17 00:00:00 2001 From: Jakob Sack Date: Sun, 12 Aug 2012 09:02:20 +0200 Subject: [PATCH] Backgroundjobs: fix bug in QueuedTask --- lib/backgroundjob/queuedtask.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backgroundjob/queuedtask.php b/lib/backgroundjob/queuedtask.php index da5d4ddc69..941af1c647 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(); }