mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/8323] Remove code used for testing
PHPBB3-8323
This commit is contained in:
@@ -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'];
|
||||
|
Reference in New Issue
Block a user