diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-02-22 15:48:29 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-02-22 15:48:29 +0000 |
commit | 95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc (patch) | |
tree | d603f3dcb7e1a2172478fe0a043cd27be221604f /phpBB/modules/ucp/ucp_pm.php | |
parent | 794c5749696c9fa2595ed3a1d7c836a0d984e11c (diff) | |
download | forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.gz forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.bz2 forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.tar.xz forums-95b69cfa7f66e721cea3f8a5d62ad1cb2b822cfc.zip |
$auth-> to phpbb::$acl->
git-svn-id: file:///svn/phpbb/trunk@9335 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/modules/ucp/ucp_pm.php')
-rw-r--r-- | phpBB/modules/ucp/ucp_pm.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/modules/ucp/ucp_pm.php b/phpBB/modules/ucp/ucp_pm.php index 66170d201a..d8efc0ad9b 100644 --- a/phpBB/modules/ucp/ucp_pm.php +++ b/phpBB/modules/ucp/ucp_pm.php @@ -115,7 +115,7 @@ class ucp_pm get_folder(phpbb::$user->data['user_id']); - if (!$auth->acl_get('u_sendpm')) + if (!phpbb::$acl->acl_get('u_sendpm')) { trigger_error('NO_AUTH_SEND_MESSAGE'); } @@ -180,7 +180,7 @@ class ucp_pm $action = 'view_message'; } - if (!$auth->acl_get('u_readpm')) + if (!phpbb::$acl->acl_get('u_readpm')) { trigger_error('NO_AUTH_READ_MESSAGE'); } |