From: Matthias Schmidt Date: Sun, 22 May 2016 09:38:28 +0000 (+0200) Subject: Remove unused class ViewableMenu X-Git-Tag: 3.0.0_Beta_1~1678 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6bf456b2214d68a1ee47df5b92419b3841859cb4;p=GitHub%2FWoltLab%2FWCF.git Remove unused class ViewableMenu --- diff --git a/wcfsetup/install/files/lib/data/menu/ViewableMenu.class.php b/wcfsetup/install/files/lib/data/menu/ViewableMenu.class.php deleted file mode 100644 index 411ae26852..0000000000 --- a/wcfsetup/install/files/lib/data/menu/ViewableMenu.class.php +++ /dev/null @@ -1,29 +0,0 @@ -fetch('__menu', 'wcf', ['menuItems' => $this->menuItems->getNodeList()]); - } - - protected function getMenuItems() { - if ($this->menuItems === null) { - $this->menuItems = MenuCache::getInstance()->getMenuItemsByMenuID($this->object->menuID); - } - - return $this->menuItems; - } -}