aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_email.php
diff options
context:
space:
mode:
authorGaëtan Muller <m.gaetan89@gmail.com>2015-01-05 22:21:31 +0100
committerGaëtan Muller <m.gaetan89@gmail.com>2015-01-27 18:34:33 +0100
commit7fc586080bf5e7b6e90dcf44526200d7c9356d57 (patch)
tree046444e816e9e3c328cf2683c301da1d52c8d96c /phpBB/includes/acp/acp_email.php
parente2786c37dc1ef5c0e032e09bb6b7a18210eebfca (diff)
downloadforums-7fc586080bf5e7b6e90dcf44526200d7c9356d57.tar
forums-7fc586080bf5e7b6e90dcf44526200d7c9356d57.tar.gz
forums-7fc586080bf5e7b6e90dcf44526200d7c9356d57.tar.bz2
forums-7fc586080bf5e7b6e90dcf44526200d7c9356d57.tar.xz
forums-7fc586080bf5e7b6e90dcf44526200d7c9356d57.zip
[ticket/13468] Update calls to `add_log()`
PHPBB3-13468
Diffstat (limited to 'phpBB/includes/acp/acp_email.php')
-rw-r--r--phpBB/includes/acp/acp_email.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/acp/acp_email.php b/phpBB/includes/acp/acp_email.php
index fcc2bd7641..0025e10ea2 100644
--- a/phpBB/includes/acp/acp_email.php
+++ b/phpBB/includes/acp/acp_email.php
@@ -25,7 +25,7 @@ class acp_email
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template, $cache;
+ global $config, $db, $user, $auth, $template, $cache, $phpbb_log;
global $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $phpbb_dispatcher;
$user->add_lang('acp/email');
@@ -263,7 +263,7 @@ class acp_email
{
if (!empty($usernames))
{
- add_log('admin', 'LOG_MASS_EMAIL', implode(', ', utf8_normalize_nfc($usernames)));
+ $phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_MASS_EMAIL', false, array(implode(', ', utf8_normalize_nfc($usernames))));
}
else
{
@@ -277,7 +277,7 @@ class acp_email
$group_name = $user->lang['ALL_USERS'];
}
- add_log('admin', 'LOG_MASS_EMAIL', $group_name);
+ $phpbb_log->add('admin', $user->data['user_id'], $user->ip, 'LOG_MASS_EMAIL', false, array($group_name));
}
}