1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

Merge pull request #2045 from rxu/ticket/12213

[ticket/12213] Add MCP events for custom quick moderation options
This commit is contained in:
Nathan Guse
2014-02-19 10:42:17 -06:00
2 changed files with 31 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ class mcp_main
{
global $auth, $db, $user, $template, $action;
global $config, $phpbb_root_path, $phpEx, $request;
global $phpbb_dispatcher;
$quickmod = ($mode == 'quickmod') ? true : false;
@@ -151,6 +152,16 @@ class mcp_main
mcp_restore_topic($topic_ids);
break;
default:
/**
* This event allows you to handle custom quickmod options
*
* @event core.modify_quickmod_actions
* @since 3.1.0-a4
*/
$phpbb_dispatcher->dispatch('core.modify_quickmod_actions');
break;
}
switch ($mode)