diff options
author | Andrew Summers <18727110+summersab@users.noreply.github.com> | 2023-08-29 17:33:36 -0500 |
---|---|---|
committer | Andrew Summers <18727110+summersab@users.noreply.github.com> | 2023-09-01 16:43:04 -0500 |
commit | 2258058fd6cbe72fcf2cdf4142ce564701befcc1 (patch) | |
tree | 24c938cbf7333f7ad41960302221ca4336988ccd /lib/private | |
parent | e2303d0cc1166e95b65753f26d46c544df339e86 (diff) | |
download | nextcloud-server-2258058fd6cbe72fcf2cdf4142ce564701befcc1.tar.gz nextcloud-server-2258058fd6cbe72fcf2cdf4142ce564701befcc1.zip |
Refactor `OC\Server::getAvatarManager
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Diffstat (limited to 'lib/private')
-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 d1185e17aef..3362367fff1 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); |