1
0
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:
rxu 2020-11-21 13:33:04 +07:00
parent 5d270319e5
commit 812ba990ac
No known key found for this signature in database
GPG Key ID: 955F0567380E586A
2 changed files with 4 additions and 4 deletions

View File

@ -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'))

View File

@ -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'))