PHPDoc improvements
Replaced deprecated method call
This commit is contained in:
@@ -351,9 +351,8 @@ class ManiaControlSettings implements ConfiguratorMenu, CallbackListener {
|
||||
return;
|
||||
}
|
||||
|
||||
$oldSetting = $this->maniaControl->settingManager->getSettingByIndex($settingIndex);
|
||||
|
||||
if (!isset($oldSetting)) {
|
||||
$oldSetting = $this->maniaControl->settingManager->getSettingObjectByIndex($settingIndex);
|
||||
if (!$oldSetting) {
|
||||
var_dump('no setting ' . $settingIndex);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user