mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +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:
@@ -118,7 +118,7 @@
|
||||
dataType: 'json',
|
||||
data: {
|
||||
module : 5,
|
||||
usr : {{ app['authentication'].getUser().getId() }}
|
||||
usr : {{ app.getAuthenticatedUser().getId() }}
|
||||
},
|
||||
error: function(){
|
||||
window.setTimeout("pollNotifications();", 10000);
|
||||
|
Reference in New Issue
Block a user