summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-11-22 13:24:11 +0100
committerArthur Schiwon <blizzz@owncloud.com>2013-11-22 13:25:20 +0100
commit8ccac86c9893fe0af1715288ce29d85091bca9aa (patch)
tree8c704a9156ad7485a187a5ec6d14f19c112870cc /settings/personal.php
parent54f0deff2ae60b2914f2cd1f20e7bcb23726edac (diff)
downloadnextcloud-server-8ccac86c9893fe0af1715288ce29d85091bca9aa.tar.gz
nextcloud-server-8ccac86c9893fe0af1715288ce29d85091bca9aa.zip
Enable user backends to provide avatar images
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php
index 670e18e20ef..44e1048941b 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -90,6 +90,7 @@ $tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC
$tmpl->assign('displayName', OC_User::getDisplayName());
$tmpl->assign('enableDecryptAll' , $enableDecryptAll);
$tmpl->assign('enableAvatars', \OC_Config::getValue('enable_avatars', true));
+$tmpl->assign('avatarChangeSupported', OC_User::canUserChangeAvatar(OC_User::getUser()));
$forms=OC_App::getForms('personal');
$tmpl->assign('forms', array());