setting changed cb

This commit is contained in:
kremsy 2014-02-12 19:37:34 +01:00 committed by Steffen Schröder
parent 5ed1027eec
commit 804eaf1609

View File

@ -313,6 +313,9 @@ class SettingManager {
return false;
}
$settingStatement->close();
//Trigger settings changed Callback
$this->maniaControl->callbackManager->triggerCallback(self::CB_SETTINGS_CHANGED, array(self::CB_SETTINGS_CHANGED, $className, $settingName, $value));
return $success;
}
@ -327,9 +330,6 @@ class SettingManager {
public function setSetting($object, $settingName, $value) {
$className = $this->getClassName($object);
$this->updateSetting($className, $settingName, $value);
//Trigger settings changed Callback
$this->maniaControl->callbackManager->triggerCallback(self::CB_SETTINGS_CHANGED, array(self::CB_SETTINGS_CHANGED, $className, $settingName, $value));
}
/**