mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Update notifications
This commit is contained in:
@@ -29,4 +29,9 @@ abstract class eventsmanager_notifyAbstract extends eventsmanager_eventAbstract
|
||||
|
||||
return $user->getPrefs('notification_' . $class);
|
||||
}
|
||||
|
||||
protected function shouldSendNotificationFor($usr_id)
|
||||
{
|
||||
return 0 !== (int) $this->get_prefs(get_class($this), $usr_id);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user