mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-24 12:03:21 +01:00
[feature/php-events] Fix doc and naming of core.acp_forums_request_forum_data
PHPBB3-9550
This commit is contained in:
parent
c277c240f8
commit
e3a9bf0376
@ -150,8 +150,16 @@ class acp_forums
|
||||
'forum_password_unset' => request_var('forum_password_unset', false),
|
||||
);
|
||||
|
||||
/**
|
||||
* Request forum data and operate on it (parse texts, etc.)
|
||||
*
|
||||
* @event core.acp_manage_forums_request_data
|
||||
* @var string action Type of the action: add|edit
|
||||
* @var array forum_data Array with new forum data
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$vars = array('action', 'forum_data');
|
||||
extract($phpbb_dispatcher->trigger_event('core.acp_forums_request_forum_data', compact($vars)));
|
||||
extract($phpbb_dispatcher->trigger_event('core.acp_manage_forums_request_data', compact($vars)));
|
||||
|
||||
// On add, add empty forum_options... else do not consider it (not updating it)
|
||||
if ($action == 'add')
|
||||
|
Loading…
x
Reference in New Issue
Block a user