mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 11:03:17 +00:00
Fix ORM patch
This commit is contained in:
@@ -49,6 +49,11 @@ class patch_3908 implements patchInterface
|
|||||||
*/
|
*/
|
||||||
public function apply(base $appbox, Application $app)
|
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';
|
$sql = 'SELECT task_id, active, crashed, name, class, settings FROM task2';
|
||||||
$stmt = $appbox->get_connection()->prepare($sql);
|
$stmt = $appbox->get_connection()->prepare($sql);
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
Reference in New Issue
Block a user