summaryrefslogtreecommitdiffstats
path: root/lib/templatelayout.php
diff options
context:
space:
mode:
authorkondou <kondou@ts.unde.re>2013-09-11 07:11:33 +0200
committerkondou <kondou@ts.unde.re>2013-09-11 07:11:33 +0200
commitbf7f94422fc86558f71e11117caee0758266a163 (patch)
treee1fb857118a8e58c082ec680798a2fce5a2f9c30 /lib/templatelayout.php
parent1832eb88726dce70d4f8a0a45bd574b0b688ab26 (diff)
downloadnextcloud-server-bf7f94422fc86558f71e11117caee0758266a163.tar.gz
nextcloud-server-bf7f94422fc86558f71e11117caee0758266a163.zip
Bring another enable_avatars to $_ and fix $thus->$this
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r--lib/templatelayout.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php
index 0b868a39e49..625f3424a04 100644
--- a/lib/templatelayout.php
+++ b/lib/templatelayout.php
@@ -46,6 +46,7 @@ class OC_TemplateLayout extends OC_Template {
$user_displayname = OC_User::getDisplayName();
$this->assign( 'user_displayname', $user_displayname );
$this->assign( 'user_uid', OC_User::getUser() );
+ $this->assign('enableAvatars', \OC_Config::getValue('enable_avatars', true));
} else if ($renderas == 'guest' || $renderas == 'error') {
parent::__construct('core', 'layout.guest');
} else {