mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 11:01:48 +02:00
[feature/events] Adding ledge ucp_zebra_add
Used by phpBB Gallery PHPBB3-9550
This commit is contained in:
@@ -191,6 +191,11 @@ class ucp_zebra
|
||||
);
|
||||
}
|
||||
|
||||
$vars = array('mode', 'sql_ary');
|
||||
$event = new phpbb_event_data(compact($vars));
|
||||
$phpbb_dispatcher->dispatch('core.ucp_zebra_add', $event);
|
||||
extract($event->get_data_filtered($vars));
|
||||
|
||||
$db->sql_multi_insert(ZEBRA_TABLE, $sql_ary);
|
||||
|
||||
$updated = true;
|
||||
|
Reference in New Issue
Block a user