mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Add user repository as a service
This commit is contained in:
@@ -34,7 +34,7 @@ abstract class eventsmanager_notifyAbstract extends eventsmanager_eventAbstract
|
||||
|
||||
protected function shouldSendNotificationFor($usrId)
|
||||
{
|
||||
$user = $this->app['manipulator.user']->getRepository()->find($usrId);
|
||||
$user = $this->app['repo.users']->find($usrId);
|
||||
|
||||
return $this->app['settings']->getUserNotificationSetting($user, get_class($this));
|
||||
}
|
||||
|
Reference in New Issue
Block a user