Skip to content

Commit e7f36ce

Browse files
committed
Remove stray global settings
1 parent 657a899 commit e7f36ce

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

main/WebServer.cpp

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6605,12 +6605,6 @@ namespace http {
66056605
m_mainworker.m_eventsystem.StartEventSystem();
66066606
}
66076607

6608-
int oneWireSensorPollPeriod = atoi(request::findValue(&req, "1WireSensorPollPeriod").c_str());
6609-
m_sql.UpdatePreferencesVar("1WireSensorPollPeriod", oneWireSensorPollPeriod);
6610-
6611-
int oneWireSwitchPollPeriod = atoi(request::findValue(&req, "1WireSwitchPollPeriod").c_str());
6612-
m_sql.UpdatePreferencesVar("1WireSwitchPollPeriod", oneWireSensorPollPeriod);
6613-
66146608
std::string EnableWidgetOrdering = request::findValue(&req, "AllowWidgetOrdering");
66156609
int iEnableAllowWidgetOrdering = (EnableWidgetOrdering == "on" ? 1 : 0);
66166610
m_sql.UpdatePreferencesVar("AllowWidgetOrdering", iEnableAllowWidgetOrdering);
@@ -11304,14 +11298,6 @@ namespace http {
1130411298
{
1130511299
root["WebTheme"] = sValue;
1130611300
}
11307-
else if (Key == "OneWireSensorPollPeriod")
11308-
{
11309-
root["OneWireSensorPollPeriod"] = nValue;
11310-
}
11311-
else if (Key == "OneWireSwitchPollPeriod")
11312-
{
11313-
root["OneWireSwitchPollPeriod"] = nValue;
11314-
}
1131511301
#ifndef NOCLOUD
1131611302
else if (Key == "MyDomoticzInstanceId") {
1131711303
root["MyDomoticzInstanceId"] = sValue;

0 commit comments

Comments
 (0)