diff options
author | Simon Rettberg | 2018-04-03 14:13:50 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-03 14:13:50 +0200 |
commit | 4f18dd73342b91fa2550b3de3d54c89041a5b2c5 (patch) | |
tree | f9f32e9dbd3dfeb5d4193e55435cefca4d4890b0 /modules-available | |
parent | [locationinfo] Use User::assertPermission() (diff) | |
download | slx-admin-4f18dd73342b91fa2550b3de3d54c89041a5b2c5.tar.gz slx-admin-4f18dd73342b91fa2550b3de3d54c89041a5b2c5.tar.xz slx-admin-4f18dd73342b91fa2550b3de3d54c89041a5b2c5.zip |
[locationinfo] Delete according runmode entries when a panel gets deleted
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index e1e47385..93d36de6 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -113,6 +113,7 @@ class Page_LocationInfo extends Page if ($res !== 1) { Message::addWarning('invalid-panel-id', $id); } + RunMode::deleteMode(Page::getModule(), $id); } private function getTime($str) |