Backgroundjobs: fix bug in QueuedTask
This commit is contained in:
parent
355a1adb3a
commit
deef1f73db
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue