mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-29 12:43:15 +01:00
[ticket/16617] Shorten event names
PHPBB3-16617
This commit is contained in:
parent
5d270319e5
commit
812ba990ac
@ -690,7 +690,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
||||
/**
|
||||
* Event to override private message BBCode status indications
|
||||
*
|
||||
* @event core.ucp_pm_compose_modify_bbcode_status_indications
|
||||
* @event core.ucp_pm_compose_modify_bbcode_status
|
||||
*
|
||||
* @var bool bbcode_status BBCode status
|
||||
* @var bool smilies_status Smilies status
|
||||
@ -706,7 +706,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
||||
'flash_status',
|
||||
'url_status',
|
||||
];
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_compose_modify_bbcode_status_indications', compact($vars)));
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_compose_modify_bbcode_status', compact($vars)));
|
||||
|
||||
// Save Draft
|
||||
if ($save && $auth->acl_get('u_savedrafts'))
|
||||
|
@ -732,7 +732,7 @@ $quote_status = true;
|
||||
/**
|
||||
* Event to override message BBCode status indications
|
||||
*
|
||||
* @event core.posting_modify_bbcode_status_indications
|
||||
* @event core.posting_modify_bbcode_status
|
||||
*
|
||||
* @var bool bbcode_status BBCode status
|
||||
* @var bool smilies_status Smilies status
|
||||
@ -750,7 +750,7 @@ $vars = [
|
||||
'flash_status',
|
||||
'quote_status',
|
||||
];
|
||||
extract($phpbb_dispatcher->trigger_event('core.posting_modify_bbcode_status_indications', compact($vars)));
|
||||
extract($phpbb_dispatcher->trigger_event('core.posting_modify_bbcode_status', compact($vars)));
|
||||
|
||||
// Save Draft
|
||||
if ($save && $user->data['is_registered'] && $auth->acl_get('u_savedrafts') && ($mode == 'reply' || $mode == 'post' || $mode == 'quote'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user