diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-08-06 17:43:46 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-08-08 12:35:26 +0200 |
commit | e3a9bf0376a9e4d6e9f5730e5118d11ce75296bd (patch) | |
tree | e72f7281c0e6d3f7b99aac3c6047448144b0c1a6 /phpBB/includes/acp/acp_forums.php | |
parent | c277c240f83780b527511339068bd25d793712a9 (diff) | |
download | forums-e3a9bf0376a9e4d6e9f5730e5118d11ce75296bd.tar forums-e3a9bf0376a9e4d6e9f5730e5118d11ce75296bd.tar.gz forums-e3a9bf0376a9e4d6e9f5730e5118d11ce75296bd.tar.bz2 forums-e3a9bf0376a9e4d6e9f5730e5118d11ce75296bd.tar.xz forums-e3a9bf0376a9e4d6e9f5730e5118d11ce75296bd.zip |
[feature/php-events] Fix doc and naming of core.acp_forums_request_forum_data
PHPBB3-9550
Diffstat (limited to 'phpBB/includes/acp/acp_forums.php')
-rw-r--r-- | phpBB/includes/acp/acp_forums.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_forums.php b/phpBB/includes/acp/acp_forums.php index 6631edf438..564181be9e 100644 --- a/phpBB/includes/acp/acp_forums.php +++ b/phpBB/includes/acp/acp_forums.php @@ -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') |