aboutsummaryrefslogtreecommitdiffstats
path: root/lib/backgroundjob/queuedtask.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/backgroundjob/queuedtask.php')
-rw-r--r--lib/backgroundjob/queuedtask.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/backgroundjob/queuedtask.php b/lib/backgroundjob/queuedtask.php
index 8264e1a0ae6..b2ce6f39ed8 100644
--- a/lib/backgroundjob/queuedtask.php
+++ b/lib/backgroundjob/queuedtask.php
@@ -82,7 +82,8 @@ class OC_BackgroundJob_QueuedTask{
* @return id of task
*/
public static function add( $app, $klass, $method, $parameters ) {
- $stmt = OC_DB::prepare( 'INSERT INTO `*PREFIX*queuedtasks` (`app`, `klass`, `method`, `parameters`) VALUES(?,?,?,?)' );
+ $stmt = OC_DB::prepare( 'INSERT INTO `*PREFIX*queuedtasks` (`app`, `klass`, `method`, `parameters`)'
+ .' VALUES(?,?,?,?)' );
$result = $stmt->execute(array($app, $klass, $method, $parameters ));
return OC_DB::insertid();