From 124deef3be48be7d434bb15ebbeff6ecd673e38c Mon Sep 17 00:00:00 2001 From: Romain Neutron Date: Wed, 25 Jul 2012 12:09:52 +0200 Subject: [PATCH] Cleanup --- lib/Alchemy/Phrasea/Controller/Prod/Root.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Alchemy/Phrasea/Controller/Prod/Root.php b/lib/Alchemy/Phrasea/Controller/Prod/Root.php index 0afa1bcbf4..c487d8123b 100644 --- a/lib/Alchemy/Phrasea/Controller/Prod/Root.php +++ b/lib/Alchemy/Phrasea/Controller/Prod/Root.php @@ -98,8 +98,6 @@ class Root implements ControllerProviderInterface } } - $Serializer = $app['phraseanet.core']['Serializer']; - $out = $app['twig']->render('prod/index.html.twig', array( 'module_name' => 'Production', 'WorkZone' => new Helper\WorkZone($app['phraseanet.core'], $app['request']), @@ -118,8 +116,8 @@ class Root implements ControllerProviderInterface 'search_status' => \databox_status::getSearchStatus(), 'queries_history' => \queries::history(), 'thesau_js_list' => $thjslist, - 'thesau_json_sbas' => json_encode($sbas, 'json'), - 'thesau_json_bas2sbas' => json_encode($bas2sbas, 'json'), + 'thesau_json_sbas' => json_encode($sbas), + 'thesau_json_bas2sbas' => json_encode($bas2sbas), 'thesau_languages' => \User_Adapter::avLanguages(), ));