aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-12-06 16:33:12 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-12-06 16:33:12 +0100
commit2f490293e4b8d08d6c1008ef5ea324ae259d9993 (patch)
treed250c86a60bafc806fdc07d45b0bd18ffca3bd9e /phpBB/ucp.php
parent4103c99a8676653a868014a6f58a76e8986bd5ed (diff)
downloadforums-2f490293e4b8d08d6c1008ef5ea324ae259d9993.tar
forums-2f490293e4b8d08d6c1008ef5ea324ae259d9993.tar.gz
forums-2f490293e4b8d08d6c1008ef5ea324ae259d9993.tar.bz2
forums-2f490293e4b8d08d6c1008ef5ea324ae259d9993.tar.xz
forums-2f490293e4b8d08d6c1008ef5ea324ae259d9993.zip
[ticket/10679] Use module_auth to limit access to the module
PHPBB3-10679
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);