mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 05:53:13 +00:00
Move Events Manager to service
This commit is contained in:
@@ -1284,7 +1284,7 @@ class User_Adapter implements User_Interface, cache_cacheableInterface
|
||||
protected function load_notifications_preferences()
|
||||
{
|
||||
$Core = bootstrap::getCore();
|
||||
$evt_mngr = eventsmanager_broker::getInstance($this->appbox, $Core);
|
||||
$evt_mngr = $Core['events-manager'];
|
||||
$notifications = $evt_mngr->list_notifications_available($this->id);
|
||||
|
||||
foreach ($notifications as $notification_group => $nots) {
|
||||
|
Reference in New Issue
Block a user