From 1e2c1c9caae65ab7730ecc0cbc171dd51e154e61 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Wed, 4 Feb 2015 18:47:02 +0100 Subject: [PATCH] Add validateAction event in AbstractDatabaseObjectAction --- .../files/lib/data/AbstractDatabaseObjectAction.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php b/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php index e4215d20af..99853e1437 100644 --- a/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php +++ b/wcfsetup/install/files/lib/data/AbstractDatabaseObjectAction.class.php @@ -179,6 +179,9 @@ abstract class AbstractDatabaseObjectAction implements IDatabaseObjectAction, ID // execute action call_user_func_array(array($this, $actionName), $this->getParameters()); + + // fire event action + EventHandler::getInstance()->fireAction($this, 'validateAction'); } /** -- 2.20.1