mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add getAuthenticator usage
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser() replace twig app['authentication'].getUser() with corresponding method
This commit is contained in:
@@ -271,7 +271,7 @@ class DataboxController extends Controller
|
||||
$connection->beginTransaction();
|
||||
try {
|
||||
/** @var Authenticator $authenticator */
|
||||
$authenticator = $this->app['authentication'];
|
||||
$authenticator = $this->app->getAuthenticator();
|
||||
$baseId = \collection::mount_collection(
|
||||
$this->app,
|
||||
$this->findDataboxById($databox_id),
|
||||
|
Reference in New Issue
Block a user