mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[feature/add_events] Put globals on one line
PHPBB3-9550
This commit is contained in:
parent
575980cba9
commit
e67b010846
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
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_root_path, $phpEx, $phpbb_dispatcher;
|
||||||
global $phpbb_dispatcher;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use this event to modify the text before it is prepared for storage
|
* 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)
|
function generate_text_for_edit($text, $uid, $flags)
|
||||||
{
|
{
|
||||||
global $phpbb_root_path, $phpEx;
|
global $phpbb_root_path, $phpEx, $phpbb_dispatcher;
|
||||||
global $phpbb_dispatcher;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use this event to modify the text before it is decoded for editing
|
* Use this event to modify the text before it is decoded for editing
|
||||||
|
|
Loading…
Add table
Reference in a new issue