From: Marcel Werk Date: Wed, 13 Apr 2016 10:45:40 +0000 (+0200) Subject: Added box controller events X-Git-Tag: 3.0.0_Beta_1~1917 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=360b6be2ad32c5ae6319f1fcf1149d91b47b49cc;p=GitHub%2FWoltLab%2FWCF.git Added box controller events --- diff --git a/wcfsetup/install/files/lib/system/box/AbstractBoxController.class.php b/wcfsetup/install/files/lib/system/box/AbstractBoxController.class.php index 504c5b09bd..7eb6239bed 100644 --- a/wcfsetup/install/files/lib/system/box/AbstractBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/AbstractBoxController.class.php @@ -1,6 +1,7 @@ content === null) { $this->content = ''; + + EventHandler::getInstance()->fireAction($this, 'beforeLoadContent'); + $this->loadContent(); + + EventHandler::getInstance()->fireAction($this, 'afterLoadContent'); } return $this->content;