summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo
diff options
context:
space:
mode:
authorSimon Rettberg2017-06-21 18:43:07 +0200
committerSimon Rettberg2017-06-21 18:43:07 +0200
commit8760703168ff4eb17960346db3a6d9c34e064eab (patch)
tree0b8bd76a1916d156604bb2454bb4bc17bdb47b87 /modules-available/locationinfo
parent[locationinfo] Update install script (diff)
downloadslx-admin-8760703168ff4eb17960346db3a6d9c34e064eab.tar.gz
slx-admin-8760703168ff4eb17960346db3a6d9c34e064eab.tar.xz
slx-admin-8760703168ff4eb17960346db3a6d9c34e064eab.zip
[locationinfo] Remove configupdate field
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r--modules-available/locationinfo/page.inc.php6
-rw-r--r--modules-available/locationinfo/templates/page-config-panel-default.html16
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>