aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_logs.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp/acp_logs.php')
-rw-r--r--phpBB/includes/acp/acp_logs.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/phpBB/includes/acp/acp_logs.php b/phpBB/includes/acp/acp_logs.php
index 11d911151b..c5443ef5ee 100644
--- a/phpBB/includes/acp/acp_logs.php
+++ b/phpBB/includes/acp/acp_logs.php
@@ -26,7 +26,7 @@ class acp_logs
{
global $db, $user, $auth, $template, $cache, $phpbb_container;
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
- global $request, $phpbb_log;
+ global $request;
$user->add_lang('mcp');
@@ -78,6 +78,8 @@ class acp_logs
}
$conditions['log_type'] = $this->log_type;
+
+ $phpbb_log = $phpbb_container->get('log');
$phpbb_log->delete($mode, $conditions);
}
else