aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/ucp/ucp_resend.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-12-27 12:18:04 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-12-27 12:18:04 +0000
commit25725c98503c3a9ba8b5de4b91c2528b6c974a03 (patch)
treeadf5470b0a4f90ef44b9be7a9761c4a6153072aa /phpBB/modules/ucp/ucp_resend.php
parent297af28a40e5fa94de0cb2f57d807b39020f44f0 (diff)
downloadforums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar
forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar.gz
forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar.bz2
forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.tar.xz
forums-25725c98503c3a9ba8b5de4b91c2528b6c974a03.zip
replace constants with class constants.
ACL_YES, ACL_NO, ACL_NEVER, USER_NORMAL, USER_IGNORE, USER_INACTIVE, USER_FOUNDER git-svn-id: file:///svn/phpbb/trunk@9233 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modules/ucp/ucp_resend.php')
-rw-r--r--phpBB/modules/ucp/ucp_resend.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/modules/ucp/ucp_resend.php b/phpBB/modules/ucp/ucp_resend.php
index fef6decf4a..38b333a5a4 100644
--- a/phpBB/modules/ucp/ucp_resend.php
+++ b/phpBB/modules/ucp/ucp_resend.php
@@ -55,17 +55,17 @@ class ucp_resend
trigger_error('NO_EMAIL_USER');
}
- if ($user_row['user_type'] == USER_IGNORE)
+ if ($user_row['user_type'] == phpbb::USER_IGNORE)
{
trigger_error('NO_USER');
}
- if (!$user_row['user_actkey'] && $user_row['user_type'] != USER_INACTIVE)
+ if (!$user_row['user_actkey'] && $user_row['user_type'] != phpbb::USER_INACTIVE)
{
trigger_error('ACCOUNT_ALREADY_ACTIVATED');
}
- if (!$user_row['user_actkey'] || ($user_row['user_type'] == USER_INACTIVE && $user_row['user_inactive_reason'] == INACTIVE_MANUAL))
+ if (!$user_row['user_actkey'] || ($user_row['user_type'] == phpbb::USER_INACTIVE && $user_row['user_inactive_reason'] == INACTIVE_MANUAL))
{
trigger_error('ACCOUNT_DEACTIVATED');
}