mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[feature/events] Adding ledge ucp_zebra_add
Used by phpBB Gallery PHPBB3-9550
This commit is contained in:
parent
02244397d1
commit
4b4e2afd80
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue