From: Alexander Ebert Date: Sun, 23 Jun 2013 12:01:21 +0000 (+0200) Subject: Added an event to modify the object list prior to reading objects X-Git-Tag: 2.0.0_Beta_4~7 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ed84e780d76a32b56e6257ce1cea76443b4a823c;p=GitHub%2FWoltLab%2FWCF.git Added an event to modify the object list prior to reading objects --- diff --git a/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php b/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php index 51b0fae307..2c327bb34a 100644 --- a/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php +++ b/wcfsetup/install/files/lib/page/MultipleLinkPage.class.php @@ -145,6 +145,9 @@ abstract class MultipleLinkPage extends AbstractPage { $this->objectList->sqlLimit = $this->sqlLimit; $this->objectList->sqlOffset = $this->sqlOffset; if ($this->sqlOrderBy) $this->objectList->sqlOrderBy = $this->sqlOrderBy; + + EventHandler::getInstance()->fireAction($this, 'beforeReadObjects'); + $this->objectList->readObjects(); }