mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Refactor TaskManagerController
This commit is contained in:
@@ -13,6 +13,7 @@ namespace Alchemy\Phrasea\Controller;
|
||||
use Alchemy\Phrasea\Application;
|
||||
use Alchemy\Phrasea\Authentication\ACLProvider;
|
||||
use Alchemy\Phrasea\Authentication\Authenticator;
|
||||
use Alchemy\Phrasea\Core\Configuration\PropertyAccess;
|
||||
use Alchemy\Phrasea\Model\Entities\User;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
|
||||
@@ -110,4 +111,12 @@ class Controller
|
||||
{
|
||||
return $this->getAuthenticator()->getUser();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return PropertyAccess
|
||||
*/
|
||||
protected function getConf()
|
||||
{
|
||||
return $this->app['conf'];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user