add init event
authorJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Apr 2015 17:11:21 +0000 (19:11 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Mon, 6 Apr 2015 17:11:21 +0000 (19:11 +0200)
wcfsetup/install/files/lib/data/DatabaseObjectList.class.php

index 8c1388c1c815f33f05fd6580ba03dd275ac94cb2..eb463a0d22e56e1b7cfdd2bcd6b3c56bd218702e 100644 (file)
@@ -1,6 +1,7 @@
 <?php
 namespace wcf\data;
 use wcf\system\database\util\PreparedStatementConditionBuilder;
+use wcf\system\event\EventHandler;
 use wcf\system\exception\SystemException;
 use wcf\system\WCF;
 use wcf\util\ClassUtil;
@@ -133,6 +134,8 @@ abstract class DatabaseObjectList implements \Countable, ITraversableObject {
                }
                
                $this->conditionBuilder = new PreparedStatementConditionBuilder();
+               
+               EventHandler::getInstance()->fireAction($this, 'init');
        }
        
        /**