deleted vardumps
This commit is contained in:
parent
a0788c1432
commit
b59eb246ce
@ -198,19 +198,15 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
|
|||||||
$boolSettingName = self::ACTION_PREFIX_SETTING . $actionArray[2];
|
$boolSettingName = self::ACTION_PREFIX_SETTING . $actionArray[2];
|
||||||
}
|
}
|
||||||
|
|
||||||
//var_dump($configData[3]);
|
|
||||||
$newSettings = array();
|
$newSettings = array();
|
||||||
foreach($configData[3] as $setting) {
|
foreach($configData[3] as $setting) {
|
||||||
if(substr($setting['Name'], 0, $prefixLength) != self::ACTION_PREFIX_SETTING) {
|
if(substr($setting['Name'], 0, $prefixLength) != self::ACTION_PREFIX_SETTING) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Check if it was a boolbox
|
//Check if it was a boolean button
|
||||||
// var_dump($setting['Name'], $boolSettingName, "");
|
|
||||||
if($setting['Name'] == $boolSettingName) {
|
if($setting['Name'] == $boolSettingName) {
|
||||||
$setting['Value'] = ($setting['Value'] ? false : true);
|
$setting['Value'] = ($setting['Value'] ? false : true);
|
||||||
var_dump($setting['Value']);
|
|
||||||
var_dump("test13");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$settingName = substr($setting['Name'], $prefixLength);
|
$settingName = substr($setting['Name'], $prefixLength);
|
||||||
@ -263,7 +259,6 @@ class ServerSettings implements ConfiguratorMenu, CallbackListener {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//var_dump($newSettings);
|
|
||||||
// Notifications
|
// Notifications
|
||||||
$settingsCount = count($newSettings);
|
$settingsCount = count($newSettings);
|
||||||
$settingIndex = 0;
|
$settingIndex = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user