diff --git a/e107_handlers/notify_class.php b/e107_handlers/notify_class.php index 204c22a37..460eb05e9 100644 --- a/e107_handlers/notify_class.php +++ b/e107_handlers/notify_class.php @@ -31,9 +31,10 @@ class notify function notify() { - global $sysprefs, $e_event, $eArrayStorage; - $this->notify_prefs = $sysprefs->get('notify_prefs'); - $this->notify_prefs = $eArrayStorage->ReadArray($this->notify_prefs); + global $e_event; + + $this->notify_prefs = e107::getConfig("notify")->getPref(); + if(varset($this->notify_prefs['event'])) { foreach ($this->notify_prefs['event'] as $id => $status)