mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 14:48:53 +00: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:
commit
5804e43589
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue