diff options
| author | Nathan <exreaction@phpbb.com> | 2012-07-03 23:27:50 -0500 |
|---|---|---|
| committer | Nathan <exreaction@phpbb.com> | 2012-07-10 12:34:38 -0500 |
| commit | c53d7f0b62abf222b159623ccc2c6ef6262f3137 (patch) | |
| tree | 6e376a7860721e13bcd44c6f25c172a553510e81 /phpBB/includes | |
| parent | 05452b9ec0dab4fecfbca05fd5598af224d784de (diff) | |
| download | forums-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.php | 2 |
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']; |
