mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[feature/php-events] Fix naming and doc of core.ucp_add_zebra
PHPBB3-9550
This commit is contained in:
parent
a53ddec5a3
commit
4eefba9b3f
1 changed files with 11 additions and 1 deletions
|
@ -199,8 +199,18 @@ class ucp_zebra
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add users to friends/foes
|
||||
*
|
||||
* @event core.ucp_add_zebra
|
||||
* @var string mode Zebra type:
|
||||
* friends|foes
|
||||
* @var array sql_ary Array of
|
||||
* entries we add
|
||||
* @since 3.1-A1
|
||||
*/
|
||||
$vars = array('mode', 'sql_ary');
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_zebra_add', compact($vars)));
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_add_zebra', compact($vars)));
|
||||
|
||||
$db->sql_multi_insert(ZEBRA_TABLE, $sql_ary);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue