Fix docblocks and use declarations

This commit is contained in:
Romain Neutron
2012-10-04 17:54:54 +02:00
parent 08ef9ebad0
commit 7d4de53173
11 changed files with 36 additions and 11 deletions

View File

@@ -28,9 +28,6 @@ class Publications implements ControllerProviderInterface
{
$controllers = $app['controllers_factory'];
/**
* TODO NEUTRON verifier correlation avec tree
*/
$controllers->before(function(Request $request) use ($app) {
$app['firewall']->requireAccessToModule('admin')
->requireRight('bas_chupub');

View File

@@ -14,7 +14,6 @@ namespace Alchemy\Phrasea\Controller\Admin;
use Silex\Application;
use Silex\ControllerProviderInterface;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
/**
*