mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10714] Remove event core.function_add_log, add_log should be used instead
PHPBB3-10714
This commit is contained in:
parent
7010524815
commit
151346c6e0
1 changed files with 0 additions and 12 deletions
|
@ -3398,18 +3398,6 @@ function add_log()
|
|||
case 'user':
|
||||
$additional_data['reportee_id'] = array_shift($args);
|
||||
break;
|
||||
default:
|
||||
/**
|
||||
* @todo: enable when events are merged
|
||||
*
|
||||
global $phpbb_dispatcher;
|
||||
|
||||
if ($phpbb_dispatcher != null)
|
||||
{
|
||||
$vars = array('mode', 'args', 'additional_data');
|
||||
extract($phpbb_dispatcher->trigger_event('core.function_add_log', $vars, $vars));
|
||||
}
|
||||
*/
|
||||
}
|
||||
$log_operation = array_shift($args);
|
||||
$additional_data = array_merge($additional_data, $args);
|
||||
|
|
Loading…
Add table
Reference in a new issue