aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/acp/acp_logs.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/modules/acp/acp_logs.php')
-rw-r--r--phpBB/modules/acp/acp_logs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modules/acp/acp_logs.php b/phpBB/modules/acp/acp_logs.php
index dd10046097..9b8e77706e 100644
--- a/phpBB/modules/acp/acp_logs.php
+++ b/phpBB/modules/acp/acp_logs.php
@@ -44,7 +44,7 @@ class acp_logs
$this->log_type = constant('LOG_' . strtoupper($mode));
// Delete entries if requested and able
- if (($deletemark || $deleteall) && $auth->acl_get('a_clearlogs'))
+ if (($deletemark || $deleteall) && phpbb::$acl->acl_get('a_clearlogs'))
{
if (confirm_box(true))
{
@@ -133,7 +133,7 @@ class acp_logs
'S_LIMIT_DAYS' => $s_limit_days,
'S_SORT_KEY' => $s_sort_key,
'S_SORT_DIR' => $s_sort_dir,
- 'S_CLEARLOGS' => $auth->acl_get('a_clearlogs'),
+ 'S_CLEARLOGS' => phpbb::$acl->acl_get('a_clearlogs'),
)
);