mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-21 07:51:33 +02:00
[ticket/13468] Update calls to add_log()
PHPBB3-13468
This commit is contained in:
@@ -32,7 +32,7 @@ class acp_board
|
||||
{
|
||||
global $db, $user, $auth, $template;
|
||||
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
||||
global $cache, $phpbb_container, $phpbb_dispatcher;
|
||||
global $cache, $phpbb_container, $phpbb_dispatcher, $phpbb_log;
|
||||
|
||||
$user->add_lang('acp/board');
|
||||
|
||||
@@ -615,7 +615,7 @@ class acp_board
|
||||
|
||||
if ($submit)
|
||||
{
|
||||
add_log('admin', 'LOG_CONFIG_' . strtoupper($mode));
|
||||
$phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_CONFIG_' . strtoupper($mode));
|
||||
|
||||
$message = $user->lang('CONFIG_UPDATED');
|
||||
$message_type = E_USER_NOTICE;
|
||||
|
Reference in New Issue
Block a user