mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-17 09:46:25 +02:00
$auth-> to phpbb::$acl->
git-svn-id: file:///svn/phpbb/trunk@9335 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user