about summary refs log tree commit diff stats
path: root/wiki/inc/Menu/Item/Back.php
diff options
context:
space:
mode:
authorahriman <ahriman@falte.red>2019-01-02 04:57:35 +0000
committerahriman <ahriman@falte.red>2019-01-02 04:57:35 +0000
commit2bd7f83a6495011ada78ca8a9f2af417caf01760 (patch)
treef9acdb7f09e011c65330ab993d4db3620787dbfb /wiki/inc/Menu/Item/Back.php
parentbcb215c3a7e914d05f166846a33860e48bba64fb (diff)
downloadsite-2bd7f83a6495011ada78ca8a9f2af417caf01760.tar.gz
removed dokuwiki
Diffstat (limited to 'wiki/inc/Menu/Item/Back.php')
-rw-r--r--wiki/inc/Menu/Item/Back.php29
1 files changed, 0 insertions, 29 deletions
diff --git a/wiki/inc/Menu/Item/Back.php b/wiki/inc/Menu/Item/Back.php
deleted file mode 100644
index a7cc1d9..0000000
--- a/wiki/inc/Menu/Item/Back.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-
-namespace dokuwiki\Menu\Item;
-
-/**
- * Class Back
- *
- * Navigates back up one namepspace. This is currently not used in any menu. Templates
- * would need to add this item manually.
- */
-class Back extends AbstractItem {
-
-    /** @inheritdoc */
-    public function __construct() {
-        global $ID;
-        parent::__construct();
-
-        $parent = tpl_getparent($ID);
-        if(!$parent) {
-            throw new \RuntimeException("No parent for back action");
-        }
-
-        $this->id = $parent;
-        $this->params = array('do' => '');
-        $this->accesskey = 'b';
-        $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
-    }
-
-}