diff options
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 6 | ||||
-rw-r--r-- | modules-available/locationinfo/templates/page-config-panel-default.html | 16 |
2 files changed, 0 insertions, 22 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index c3232b80..e8ce7b78 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -247,7 +247,6 @@ class Page_LocationInfo extends Page 'switchtime' => Request::post('switchtime', 20, 'int'), 'calupdate' => Request::post('calupdate', 120, 'int'), 'roomupdate' => Request::post('roomupdate', 30, 'int'), - 'configupdate' => Request::post('configupdate', 180, 'int'), ); if ($conf['roomupdate'] < 15) { $conf['roomupdate'] = 15; @@ -255,9 +254,6 @@ class Page_LocationInfo extends Page if ($conf['calupdate'] < 30) { $conf['calupdate'] = 30; } - if ($conf['configupdate'] < 10) { - $conf['configupdate'] = 10; - } if ($paneluuid === 'new') { $paneluuid = Util::randomUuid(); @@ -760,7 +756,6 @@ class Page_LocationInfo extends Page 'switchtime' => $config['switchtime'], 'calupdate' => $config['calupdate'], 'roomupdate' => $config['roomupdate'], - 'configupdate' => $config['configupdate'], 'locations' => Location::getLocations(), 'locationids' => $panel['locationids'], )); @@ -771,7 +766,6 @@ class Page_LocationInfo extends Page 'panelname' => $panel['panelname'], 'languages' => $langs, 'roomupdate' => $config['roomupdate'], - 'configupdate' => $config['configupdate'], 'locations' => Location::getLocations(), 'locationids' => $panel['locationids'], )); diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html index 450b29e9..fac1db03 100644 --- a/modules-available/locationinfo/templates/page-config-panel-default.html +++ b/modules-available/locationinfo/templates/page-config-panel-default.html @@ -135,22 +135,6 @@ </div> </div> - <div class="list-group-item"> - <div class="row"> - <div class="col-sm-3"> - <label for="configupdate">{{lang_config}}</label> - </div> - <div class="col-sm-7"> - <input id="configupdate" class="form-control" name="configupdate" type="number" min="10" - max="1440" value="{{configupdate}}" required> - </div> - <div class="col-sm-2"> - <a class="btn btn-default helptext" title="{{lang_configupdateTooltip}}"> - <span class="glyphicon glyphicon-question-sign"></span> - </a> - </div> - </div> - </div> </div> </div> </div> |