diff options
author | kondou <kondou@ts.unde.re> | 2013-08-26 16:46:55 +0200 |
---|---|---|
committer | kondou <kondou@ts.unde.re> | 2013-08-26 16:46:55 +0200 |
commit | 31736a1df36745467ad176ee1ffe442b87546012 (patch) | |
tree | 5d65ed5f890abc9c1e275dd382d037f3f52031d4 /lib | |
parent | 9a8908b643c69451118ab76ca36e5fa0e704bd0a (diff) | |
download | nextcloud-server-31736a1df36745467ad176ee1ffe442b87546012.tar.gz nextcloud-server-31736a1df36745467ad176ee1ffe442b87546012.zip |
Have a controller instead ofo avatar.php and fix some cropper-design
Diffstat (limited to 'lib')
-rw-r--r-- | lib/templatelayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index c26dff4176c..2e31b0395d5 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -20,7 +20,7 @@ class OC_TemplateLayout extends OC_Template { // 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="'.link_to('', 'avatar.php').'?user='.OC_User::getUser().'&size=32">'); + $this->assign('avatar', '<img class="avatar" src="'.\OC_Helper::linkToRoute('core_avatar_get').'/'.OC_User::getUser().'/32">'); } // Update notification |