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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user