aboutsummaryrefslogtreecommitdiff
path: root/app/class/Controllerhome.php
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-03-23 18:03:00 +0100
committern-peugnet <n.peugnet@free.fr>2020-03-23 18:03:00 +0100
commita7174bb27de46b2f64118181221fad3658f511d3 (patch)
treec0ed8fc166f222cd6d0f843dee60baa147e8316a /app/class/Controllerhome.php
parent21569fcabfdcedbdd7f0185d9a7c5518f52f880c (diff)
downloadwcms-a7174bb27de46b2f64118181221fad3658f511d3.tar.gz
wcms-a7174bb27de46b2f64118181221fad3658f511d3.zip
clean: remove temporary map dev page
Diffstat (limited to 'app/class/Controllerhome.php')
-rw-r--r--app/class/Controllerhome.php18
1 files changed, 0 insertions, 18 deletions
diff --git a/app/class/Controllerhome.php b/app/class/Controllerhome.php
index 7b7024d..4fa9a0b 100644
--- a/app/class/Controllerhome.php
+++ b/app/class/Controllerhome.php
@@ -93,24 +93,6 @@ class Controllerhome extends Controllerpage
}
}
- /**
- * Temporary map display function
- */
- public function map()
- {
- if ($this->user->isadmin()) {
-
- $pagelist = $this->modelhome->getlister();
- $datas = $this->modelhome->mapdata($pagelist);
-
- $vars['json'] = json_encode($datas, JSON_PRETTY_PRINT);
-
- $this->showtemplate('map', $vars);
-
- }
-
- }
-
public function columns()
{
if (isset($_POST['columns']) && $this->user->iseditor()) {