diff --git a/lib/classes/patch/3908.php b/lib/classes/patch/3908.php index 9ea86f792f..d3ceebf8ac 100644 --- a/lib/classes/patch/3908.php +++ b/lib/classes/patch/3908.php @@ -49,6 +49,11 @@ class patch_3908 implements patchInterface */ public function apply(base $appbox, Application $app) { + $sql = 'DELETE FROM Tasks'; + $stmt = $app['phraseanet.appbox']->get_connection()->prepare($sql); + $stmt->execute(); + $stmt->closeCursor(); + $sql = 'SELECT task_id, active, crashed, name, class, settings FROM task2'; $stmt = $appbox->get_connection()->prepare($sql); $stmt->execute();