aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/ucp.php b/phpBB/ucp.php
index 7f4cd94f6f..a7e75f76c4 100644
--- a/phpBB/ucp.php
+++ b/phpBB/ucp.php
@@ -334,12 +334,6 @@ if (!$config['allow_topic_notify'] && !$config['allow_forum_notify'])
$vars = array('module', 'id', 'mode');
extract($phpbb_dispatcher->trigger_event('core.ucp_display_module_before', compact($vars)));
-// Do not display profile information panel if not authed to do so
-if (!$auth->acl_get('u_chgprofileinfo'))
-{
- $module->set_display('profile', 'profile_info', false);
-}
-
// Select the active module
$module->set_active($id, $mode);