diff options
author | kondou <kondou@ts.unde.re> | 2013-09-09 16:57:46 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-09-09 16:57:46 +0200 |
commit | 1832eb88726dce70d4f8a0a45bd574b0b688ab26 (patch) | |
tree | ce7c5b7a0e8a3e61f8bb93312cb7fedb6a4a58a7 /settings/personal.php | |
parent | d18a070a0393ac3846053bcef1833dd01856e117 (diff) | |
download | nextcloud-server-1832eb88726dce70d4f8a0a45bd574b0b688ab26.tar.gz nextcloud-server-1832eb88726dce70d4f8a0a45bd574b0b688ab26.zip |
Pass view in \OC_Avatar to constructor and use $_ for enable_avatars
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php index 88e8802663d..670e18e20ef 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -89,6 +89,7 @@ $tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User: $tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC_User::getUser())); $tmpl->assign('displayName', OC_User::getDisplayName()); $tmpl->assign('enableDecryptAll' , $enableDecryptAll); +$tmpl->assign('enableAvatars', \OC_Config::getValue('enable_avatars', true)); $forms=OC_App::getForms('personal'); $tmpl->assign('forms', array()); |