mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +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:
@@ -43,7 +43,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{% if app['acl'].get(app['authentication'].getUser()).is_admin() %}
|
||||
{% if app.getAclForUser(app.getAuthenticatedUser()).is_admin() %}
|
||||
<div class="db_infos">
|
||||
<h2>{{ 'admin::base: Version' | trans }}</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user