diff options
author | kondou <kondou@ts.unde.re> | 2013-09-11 07:11:33 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-09-11 07:11:33 +0200 |
commit | bf7f94422fc86558f71e11117caee0758266a163 (patch) | |
tree | e1fb857118a8e58c082ec680798a2fce5a2f9c30 /lib/templatelayout.php | |
parent | 1832eb88726dce70d4f8a0a45bd574b0b688ab26 (diff) | |
download | nextcloud-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.php | 1 |
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 { |