aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-22 08:37:33 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-22 08:37:33 -0400
commit46597be1a372f1215ffc18cfd645c1e977b44d84 (patch)
treec641e8ad003421f2576dd6363dfc94db8e485225 /phpBB/includes/functions_content.php
parent4f6f0c08979d420a47f5cc4bcab2709d27853222 (diff)
downloadforums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar
forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar.gz
forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar.bz2
forums-46597be1a372f1215ffc18cfd645c1e977b44d84.tar.xz
forums-46597be1a372f1215ffc18cfd645c1e977b44d84.zip
[feature/add_events] Globalize event dispatcher object in some functions
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index f6319284b0..81ac15f168 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -493,6 +493,7 @@ function generate_text_for_display($text, $uid, $bitfield, $flags)
function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bbcode = false, $allow_urls = false, $allow_smilies = false)
{
global $phpbb_root_path, $phpEx;
+ global $phpbb_dispatcher;
/**
* Use this event to modify the text before it is prepared for storage
@@ -560,6 +561,7 @@ function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bb
function generate_text_for_edit($text, $uid, $flags)
{
global $phpbb_root_path, $phpEx;
+ global $phpbb_dispatcher;
/**
* Use this event to modify the text before it is decoded for editing