aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/acp/acp_main.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/modules/acp/acp_main.php')
-rw-r--r--phpBB/modules/acp/acp_main.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/modules/acp/acp_main.php b/phpBB/modules/acp/acp_main.php
index c79625ee39..5e7e998f34 100644
--- a/phpBB/modules/acp/acp_main.php
+++ b/phpBB/modules/acp/acp_main.php
@@ -149,7 +149,7 @@ class acp_main
$sql = 'SELECT COUNT(user_id) AS stat
FROM ' . USERS_TABLE . '
- WHERE user_type IN (' . USER_NORMAL . ',' . USER_FOUNDER . ')';
+ WHERE user_type IN (' . phpbb::USER_NORMAL . ',' . phpbb::USER_FOUNDER . ')';
$result = $db->sql_query($sql);
set_config('num_users', (int) $db->sql_fetchfield('stat'), true);
$db->sql_freeresult($result);
@@ -323,7 +323,7 @@ class acp_main
break;
case 'purge_cache':
- if ((int) $user->data['user_type'] !== USER_FOUNDER)
+ if ((int) $user->data['user_type'] !== phpbb::USER_FOUNDER)
{
trigger_error($user->lang['NO_AUTH_OPERATION'] . adm_back_link($this->u_action), E_USER_WARNING);
}
@@ -440,7 +440,7 @@ class acp_main
'U_INACTIVE_USERS' => append_sid(PHPBB_ADMIN_PATH . 'index.' . PHP_EXT, 'i=inactive&mode=list'),
'S_ACTION_OPTIONS' => ($auth->acl_get('a_board')) ? true : false,
- 'S_FOUNDER' => ($user->data['user_type'] == USER_FOUNDER) ? true : false,
+ 'S_FOUNDER' => ($user->data['user_type'] == phpbb::USER_FOUNDER) ? true : false,
)
);