From 91453e29d76c31a4442a6579126d9656446a762c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Mon, 17 Oct 2016 23:28:45 +0200 Subject: [PATCH] Removed obsolete code --- wcfsetup/install/files/lib/data/box/Box.class.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/wcfsetup/install/files/lib/data/box/Box.class.php b/wcfsetup/install/files/lib/data/box/Box.class.php index 8e5b8b332e..4eb67d4200 100644 --- a/wcfsetup/install/files/lib/data/box/Box.class.php +++ b/wcfsetup/install/files/lib/data/box/Box.class.php @@ -224,9 +224,6 @@ class Box extends DatabaseObject { else if ($this->boxType == 'menu') { return $this->getMenu()->getContent(); } - else if ($this->boxType == 'tpl') { - return WCF::getTPL()->fetch($this->getTplName(WCF::getLanguage()->languageID), 'wcf', [], true); - } $this->getBoxContents(); $boxContent = null; -- 2.20.1