mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add TokensServiceProvider
This commit is contained in:
@@ -94,8 +94,7 @@ class eventsmanager_notify_feed extends eventsmanager_notifyAbstract
|
||||
if ($this->shouldSendNotificationFor($user_to_notif->get_id())) {
|
||||
$readyToSend = false;
|
||||
try {
|
||||
$token = \random::getUrlToken(
|
||||
$this->app,
|
||||
$token = $this->app['tokens']->getUrlToken(
|
||||
\random::TYPE_FEED_ENTRY
|
||||
, $user_to_notif->get_id()
|
||||
, null
|
||||
|
Reference in New Issue
Block a user