mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 02:36:38 +02:00
[feature/events] Removing the third trigger_event parameter
PHPBB3-9550
This commit is contained in:
committed by
Joas Schilling
parent
8da33e2654
commit
3f1b4e83ae
@@ -55,7 +55,7 @@ class ucp_zebra
|
||||
if (!empty($data['usernames']))
|
||||
{
|
||||
$vars = array('data');
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_zebra_remove', compact($vars), $vars));
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_zebra_remove', compact($vars)));
|
||||
|
||||
$sql = 'DELETE FROM ' . ZEBRA_TABLE . '
|
||||
WHERE user_id = ' . $user->data['user_id'] . '
|
||||
@@ -190,7 +190,7 @@ class ucp_zebra
|
||||
}
|
||||
|
||||
$vars = array('mode', 'sql_ary');
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_zebra_add', compact($vars), $vars));
|
||||
extract($phpbb_dispatcher->trigger_event('core.ucp_zebra_add', compact($vars)));
|
||||
|
||||
$db->sql_multi_insert(ZEBRA_TABLE, $sql_ary);
|
||||
|
||||
|
Reference in New Issue
Block a user