aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_content.php
diff options
context:
space:
mode:
authorDavid King <imkingdavid@gmail.com>2012-08-22 10:41:59 -0400
committerDavid King <imkingdavid@gmail.com>2012-08-22 10:41:59 -0400
commite67b010846389b649aa46729fc4180f2a177e24d (patch)
treeae66a53fa399b0b9a679d90675698705ac295eb6 /phpBB/includes/functions_content.php
parent575980cba981c2522cc7d3e66e64b9c8fbc36511 (diff)
downloadforums-e67b010846389b649aa46729fc4180f2a177e24d.tar
forums-e67b010846389b649aa46729fc4180f2a177e24d.tar.gz
forums-e67b010846389b649aa46729fc4180f2a177e24d.tar.bz2
forums-e67b010846389b649aa46729fc4180f2a177e24d.tar.xz
forums-e67b010846389b649aa46729fc4180f2a177e24d.zip
[feature/add_events] Put globals on one line
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/functions_content.php')
-rw-r--r--phpBB/includes/functions_content.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/functions_content.php b/phpBB/includes/functions_content.php
index 7fb6ff44cf..e7772e14fe 100644
--- a/phpBB/includes/functions_content.php
+++ b/phpBB/includes/functions_content.php
@@ -486,8 +486,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;
+ global $phpbb_root_path, $phpEx, $phpbb_dispatcher;
/**
* Use this event to modify the text before it is prepared for storage
@@ -554,8 +553,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;
+ global $phpbb_root_path, $phpEx, $phpbb_dispatcher;
/**
* Use this event to modify the text before it is decoded for editing