summaryrefslogtreecommitdiffstats
path: root/lib/private/AvatarManager.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-01-13 20:36:02 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2018-01-14 21:32:54 +0100
commit48ea7251d74302993bbd1a86d7c01b45417c1965 (patch)
treeebd0ebbea8d795d4f80edb4d1fac18016a72c9aa /lib/private/AvatarManager.php
parent4c56acffd1a4e8760828408a200b0cb2cb154f95 (diff)
downloadnextcloud-server-48ea7251d74302993bbd1a86d7c01b45417c1965.tar.gz
nextcloud-server-48ea7251d74302993bbd1a86d7c01b45417c1965.zip
Use \OC\User\Manager internally in the avatarmanager
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/AvatarManager.php')
-rw-r--r--lib/private/AvatarManager.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/private/AvatarManager.php b/lib/private/AvatarManager.php
index dea7f5f3a07..eb455642101 100644
--- a/lib/private/AvatarManager.php
+++ b/lib/private/AvatarManager.php
@@ -28,13 +28,13 @@ declare(strict_types=1);
namespace OC;
+use OC\User\Manager;
use OCP\Files\IAppData;
use OCP\Files\NotFoundException;
use OCP\IAvatar;
use OCP\IAvatarManager;
use OCP\IConfig;
use OCP\ILogger;
-use OCP\IUserManager;
use OCP\IL10N;
/**
@@ -42,7 +42,7 @@ use OCP\IL10N;
*/
class AvatarManager implements IAvatarManager {
- /** @var IUserManager */
+ /** @var Manager */
private $userManager;
/** @var IAppData */
@@ -60,14 +60,14 @@ class AvatarManager implements IAvatarManager {
/**
* AvatarManager constructor.
*
- * @param IUserManager $userManager
+ * @param Manager $userManager
* @param IAppData $appData
* @param IL10N $l
* @param ILogger $logger
* @param IConfig $config
*/
public function __construct(
- IUserManager $userManager,
+ Manager $userManager,
IAppData $appData,
IL10N $l,
ILogger $logger,