Removed obsolete code
authorMarcel Werk <burntime@woltlab.com>
Mon, 17 Oct 2016 21:28:45 +0000 (23:28 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 17 Oct 2016 21:29:09 +0000 (23:29 +0200)
wcfsetup/install/files/lib/data/box/Box.class.php

index 8e5b8b332e1780a8b2eb2abe64be5b8307d6a99f..4eb67d4200b04461357a88816b1400f430a7dd3e 100644 (file)
@@ -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;