Remove use of initPhrasea() function from Application

This commit is contained in:
Nicolas Le Goff
2013-01-23 16:23:15 +01:00
parent 43be8b7586
commit 8bd64d1314
7 changed files with 1 additions and 11 deletions

View File

@@ -27,8 +27,6 @@ $app = new Application();
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);

View File

@@ -27,8 +27,6 @@ $app = new Application();
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);

View File

@@ -79,7 +79,6 @@ $app = new Application();
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);

View File

@@ -59,7 +59,6 @@ $app = new Application();
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);

View File

@@ -23,11 +23,10 @@ use Symfony\Component\HttpKernel\Event\GetResponseEvent;
require_once __DIR__ . "/../../vendor/autoload.php";
$app = new Application();
$app = new Application('dev');
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);

View File

@@ -26,7 +26,6 @@ $app = new Application();
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);
$request = http_request::getInstance();

View File

@@ -60,8 +60,6 @@ $app = new Application();
$event = new GetResponseEvent($app, Request::createFromGlobals(), HttpKernelInterface::MASTER_REQUEST);
$app->initPhrasea($event);
$app->addLocale($event);
$app->initSession($event);