mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/8323] Remove code used for testing
PHPBB3-8323
This commit is contained in:
parent
05452b9ec0
commit
c53d7f0b62
1 changed files with 1 additions and 1 deletions
|
@ -1248,7 +1248,7 @@ function handle_message_list_actions(&$address_list, &$error, $remove_u, $remove
|
|||
|
||||
// Check if users have permission to read PMs
|
||||
// Only check if not a moderator or admin, since they are allowed to override this user setting
|
||||
if (true)//!$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
|
||||
if (!$auth->acl_gets('a_', 'm_') && !$auth->acl_getf_global('m_'))
|
||||
{
|
||||
$can_read = $auth->acl_get_list(false, 'u_readpm');
|
||||
$can_read = (empty($can_read) || !isset($can_read[0]['u_readpm'])) ? array() : $can_read[0]['u_readpm'];
|
||||
|
|
Loading…
Add table
Reference in a new issue