mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Removed $syspref global
This commit is contained in:
@@ -31,9 +31,10 @@ class notify
|
|||||||
|
|
||||||
function notify()
|
function notify()
|
||||||
{
|
{
|
||||||
global $sysprefs, $e_event, $eArrayStorage;
|
global $e_event;
|
||||||
$this->notify_prefs = $sysprefs->get('notify_prefs');
|
|
||||||
$this->notify_prefs = $eArrayStorage->ReadArray($this->notify_prefs);
|
$this->notify_prefs = e107::getConfig("notify")->getPref();
|
||||||
|
|
||||||
if(varset($this->notify_prefs['event']))
|
if(varset($this->notify_prefs['event']))
|
||||||
{
|
{
|
||||||
foreach ($this->notify_prefs['event'] as $id => $status)
|
foreach ($this->notify_prefs['event'] as $id => $status)
|
||||||
|
Reference in New Issue
Block a user