aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-03-04 00:25:38 +0100
committerMarc Alexander <admin@m-a-styles.de>2013-03-04 00:25:38 +0100
commite1bb76eb096673af9e106f4cbd6e328c2b4bfdb6 (patch)
tree2e7c095f81acb52621f1832ce1244b878152680f
parentd26ad8ed2693b03a12eec4deec729e972579e5d9 (diff)
downloadforums-e1bb76eb096673af9e106f4cbd6e328c2b4bfdb6.tar
forums-e1bb76eb096673af9e106f4cbd6e328c2b4bfdb6.tar.gz
forums-e1bb76eb096673af9e106f4cbd6e328c2b4bfdb6.tar.bz2
forums-e1bb76eb096673af9e106f4cbd6e328c2b4bfdb6.tar.xz
forums-e1bb76eb096673af9e106f4cbd6e328c2b4bfdb6.zip
[feature/avatars] Reduce module auth of ucp avatar settings
Previously the avatar types that need to be enabled were hardcoded into the module auth. This is no longer needed in the new avatar system. PHPBB3-10018
-rw-r--r--phpBB/includes/ucp/info/ucp_profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/info/ucp_profile.php b/phpBB/includes/ucp/info/ucp_profile.php
index 98ab0597ff..e974cea713 100644
--- a/phpBB/includes/ucp/info/ucp_profile.php
+++ b/phpBB/includes/ucp/info/ucp_profile.php
@@ -21,7 +21,7 @@ class ucp_profile_info
'modes' => array(
'profile_info' => array('title' => 'UCP_PROFILE_PROFILE_INFO', 'auth' => 'acl_u_chgprofileinfo', 'cat' => array('UCP_PROFILE')),
'signature' => array('title' => 'UCP_PROFILE_SIGNATURE', 'auth' => 'acl_u_sig', 'cat' => array('UCP_PROFILE')),
- 'avatar' => array('title' => 'UCP_PROFILE_AVATAR', 'auth' => 'cfg_allow_avatar && (cfg_allow_avatar_local || cfg_allow_avatar_remote || cfg_allow_avatar_upload || cfg_allow_avatar_remote_upload || cfg_allow_avatar_gravatar)', 'cat' => array('UCP_PROFILE')),
+ 'avatar' => array('title' => 'UCP_PROFILE_AVATAR', 'auth' => 'cfg_allow_avatar', 'cat' => array('UCP_PROFILE')),
'reg_details' => array('title' => 'UCP_PROFILE_REG_DETAILS', 'auth' => '', 'cat' => array('UCP_PROFILE')),
'autologin_keys'=> array('title' => 'UCP_PROFILE_AUTOLOGIN_KEYS', 'auth' => '', 'cat' => array('UCP_PROFILE')),
),