aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorNathan <exreaction@phpbb.com>2012-07-03 23:27:50 -0500
committerNathan <exreaction@phpbb.com>2012-07-10 12:34:38 -0500
commitc53d7f0b62abf222b159623ccc2c6ef6262f3137 (patch)
tree6e376a7860721e13bcd44c6f25c172a553510e81 /phpBB/includes
parent05452b9ec0dab4fecfbca05fd5598af224d784de (diff)
downloadforums-c53d7f0b62abf222b159623ccc2c6ef6262f3137.tar
forums-c53d7f0b62abf222b159623ccc2c6ef6262f3137.tar.gz
forums-c53d7f0b62abf222b159623ccc2c6ef6262f3137.tar.bz2
forums-c53d7f0b62abf222b159623ccc2c6ef6262f3137.tar.xz
forums-c53d7f0b62abf222b159623ccc2c6ef6262f3137.zip
[ticket/8323] Remove code used for testing
PHPBB3-8323
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index c6a44f6196..fe5b3b7a74 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -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'];