1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Removed $syspref global

This commit is contained in:
CaMer0n 2012-10-10 23:14:19 +00:00
parent 784e755ce5
commit 4baabb984d

View File

@ -22,16 +22,16 @@ class e_emotefilter {
var $emotes;
function e_emotefilter() /* constructor */
{
global $sysprefs, $pref;
{
$pref = e107::getPref();
if(!$pref['emotepack'])
{
$pref['emotepack'] = "default";
save_prefs();
}
$this->emotes = $sysprefs->getArray("emote_".$pref['emotepack']);
$this->emotes = e107::getConfig("emote")->getPref();
if(!vartrue($this->emotes))
{