diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-02-13 17:49:05 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-02-13 17:53:33 -0600 |
commit | 200a28255e058843465c63080d917170de293ee6 (patch) | |
tree | 86c8f04fc95b22e8f2e973e16f026ae1d2552ec3 /settings/Controller/UsersController.php | |
parent | 88047aaea732d77bf38730566842fc163c6ba3a1 (diff) | |
download | nextcloud-server-200a28255e058843465c63080d917170de293ee6.tar.gz nextcloud-server-200a28255e058843465c63080d917170de293ee6.zip |
Always enable avatars
* we introduced this setting in the begining because our
avatar support caused some performance issues, but we
fixed them and should only provide one way how Nextcloud
looks
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings/Controller/UsersController.php')
-rw-r--r-- | settings/Controller/UsersController.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php index 43a38432499..719b6eb68f6 100644 --- a/settings/Controller/UsersController.php +++ b/settings/Controller/UsersController.php @@ -188,12 +188,10 @@ class UsersController extends Controller { } $avatarAvailable = false; - if ($this->config->getSystemValue('enable_avatars', true) === true) { - try { - $avatarAvailable = $this->avatarManager->getAvatar($user->getUID())->exists(); - } catch (\Exception $e) { - //No avatar yet - } + try { + $avatarAvailable = $this->avatarManager->getAvatar($user->getUID())->exists(); + } catch (\Exception $e) { + //No avatar yet } return [ |