diff options
author | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 11:04:42 +0100 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2015-01-14 11:09:44 +0100 |
commit | c99ed6447371fc548442f8b44312954c43bfbcb6 (patch) | |
tree | 92ec7a9c801f65c7cef88ec65c8d17ecfc2d6c32 /phpBB/phpbb/event/dispatcher_interface.php | |
parent | a415a4ec2b732d4bb88ab4da8f4709fe748592f6 (diff) | |
download | forums-c99ed6447371fc548442f8b44312954c43bfbcb6.tar forums-c99ed6447371fc548442f8b44312954c43bfbcb6.tar.gz forums-c99ed6447371fc548442f8b44312954c43bfbcb6.tar.bz2 forums-c99ed6447371fc548442f8b44312954c43bfbcb6.tar.xz forums-c99ed6447371fc548442f8b44312954c43bfbcb6.zip |
[ticket/13489] Disable the event dispatcher in the migrator
PHPBB3-13489
Diffstat (limited to 'phpBB/phpbb/event/dispatcher_interface.php')
-rw-r--r-- | phpBB/phpbb/event/dispatcher_interface.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/event/dispatcher_interface.php b/phpBB/phpbb/event/dispatcher_interface.php index 50a3ef9101..c66aa98260 100644 --- a/phpBB/phpbb/event/dispatcher_interface.php +++ b/phpBB/phpbb/event/dispatcher_interface.php @@ -37,4 +37,14 @@ interface dispatcher_interface extends \Symfony\Component\EventDispatcher\EventD * @return mixed */ public function trigger_event($eventName, $data = array()); + + /** + * Disable the event dispatcher. + */ + public function disable(); + + /** + * Enable the event dispatcher. + */ + public function enable(); } |