diff options
author | kondou <kondou@ts.unde.re> | 2013-08-26 17:41:19 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-26 17:41:19 +0200 |
commit | e6473e6d49178f1c95036f56ef0a65589c0e5adb (patch) | |
tree | 5aad02bddd8bd1ff76f7a399c2f4994b7b85bcc8 /lib | |
parent | 31736a1df36745467ad176ee1ffe442b87546012 (diff) | |
download | nextcloud-server-e6473e6d49178f1c95036f56ef0a65589c0e5adb.tar.gz nextcloud-server-e6473e6d49178f1c95036f56ef0a65589c0e5adb.zip |
Clean up some cruft
Diffstat (limited to 'lib')
-rw-r--r-- | lib/templatelayout.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index 2e31b0395d5..b69d932c0a0 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -18,10 +18,7 @@ class OC_TemplateLayout extends OC_Template { $this->assign('bodyid', 'body-user'); } - // display avatars if they are enabled - if (OC_Config::getValue('avatar') === 'gravatar' || OC_Config::getValue('avatar', 'local') === 'local') { - $this->assign('avatar', '<img class="avatar" src="'.\OC_Helper::linkToRoute('core_avatar_get').'/'.OC_User::getUser().'/32">'); - } + $this->assign('avatar', '<img class="avatar" src="'.\OC_Helper::linkToRoute('core_avatar_get').'/'.OC_User::getUser().'/32">'); // Update notification if(OC_Config::getValue('updatechecker', true) === true) { |