[ticket/8323] Remove code used for testing

PHPBB3-8323
This commit is contained in:
Nathan 2012-07-03 23:27:50 -05:00
parent 05452b9ec0
commit c53d7f0b62

View file

@ -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'];