From 360b6be2ad32c5ae6319f1fcf1149d91b47b49cc Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 13 Apr 2016 12:45:40 +0200 Subject: [PATCH] Added box controller events --- .../files/lib/system/box/AbstractBoxController.class.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; -- 2.20.1