mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
Merge pull request #2903 from rxu/ticket/13006
[ticket/13006] Add variables to the 'core.modify_quickmod_actions' event * rxu/ticket/13006: [ticket/13006] Add variables to the 'core.modify_quickmod_actions' event
This commit is contained in:
@@ -161,9 +161,13 @@ class mcp_main
|
|||||||
* This event allows you to handle custom quickmod options
|
* This event allows you to handle custom quickmod options
|
||||||
*
|
*
|
||||||
* @event core.modify_quickmod_actions
|
* @event core.modify_quickmod_actions
|
||||||
|
* @var string action Topic quick moderation action name
|
||||||
|
* @var bool quickmod Flag indicating whether MCP is in quick moderation mode
|
||||||
* @since 3.1.0-a4
|
* @since 3.1.0-a4
|
||||||
|
* @change 3.1.0-RC4 Added variables: action, quickmod
|
||||||
*/
|
*/
|
||||||
$phpbb_dispatcher->dispatch('core.modify_quickmod_actions');
|
$vars = array('action', 'quickmod');
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.modify_quickmod_actions', compact($vars)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user