mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge branch 'develop-ascraeus' into develop
* develop-ascraeus: [ticket/13006] Add variables to the 'core.modify_quickmod_actions' event
This commit is contained in:
commit
d1c4e0d63c
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