Backgroundjobs: fix bug in QueuedTask

This commit is contained in:
Jakob Sack 2012-08-12 09:02:20 +02:00
parent 355a1adb3a
commit deef1f73db
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}