1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 11:50:30 +02:00

Removed $syspref global

This commit is contained in:
CaMer0n
2012-10-10 23:21:47 +00:00
parent 4baabb984d
commit ce30681cc3

View File

@@ -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)