From: Marcel Werk Date: Mon, 17 Oct 2016 21:28:45 +0000 (+0200) Subject: Removed obsolete code X-Git-Tag: 3.0.0_Beta_3~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=91453e29d76c31a4442a6579126d9656446a762c;p=GitHub%2FWoltLab%2FWCF.git Removed obsolete code --- 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;