diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-11-22 11:43:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-22 11:43:51 +0100 |
commit | bc1da2fa54d842be18b4faddf40fb64cc61d2811 (patch) | |
tree | 393d507bb01ea54128f63fc2daafbf67451d9339 /lib/private/User | |
parent | ba1af2b22e5409c62ea2bdf7eb0e13c282ed70e8 (diff) | |
parent | 2258058fd6cbe72fcf2cdf4142ce564701befcc1 (diff) | |
download | nextcloud-server-bc1da2fa54d842be18b4faddf40fb64cc61d2811.tar.gz nextcloud-server-bc1da2fa54d842be18b4faddf40fb64cc61d2811.zip |
Merge pull request #40114 from summersab/refactor/OC-Server-getAvatarManager
Refactor `OC\Server::getAvatarManager`
Diffstat (limited to 'lib/private/User')
-rw-r--r-- | lib/private/User/User.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/User.php b/lib/private/User/User.php index 69ef82f3e85..c62d14d9450 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -576,7 +576,7 @@ class User implements IUser { public function getAvatarImage($size) { // delay the initialization if (is_null($this->avatarManager)) { - $this->avatarManager = \OC::$server->getAvatarManager(); + $this->avatarManager = \OC::$server->get(IAvatarManager::class); } $avatar = $this->avatarManager->getAvatar($this->uid); |