aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/GroupsController.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-05-08 01:10:32 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-05-08 01:20:17 +0200
commit1e271e9f76a5378d719e699c828a530c95ece336 (patch)
treeee18684bb102a3899d5b8ac8be1f1a95abf12b5e /apps/provisioning_api/lib/Controller/GroupsController.php
parent0ac4563ae4cf03b5c28daec82fc4631d1579c13a (diff)
downloadnextcloud-server-1e271e9f76a5378d719e699c828a530c95ece336.tar.gz
nextcloud-server-1e271e9f76a5378d719e699c828a530c95ece336.zip
provAPI to use only public API of IAccountManager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/provisioning_api/lib/Controller/GroupsController.php')
-rw-r--r--apps/provisioning_api/lib/Controller/GroupsController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php
index b031c405046..583af8454f6 100644
--- a/apps/provisioning_api/lib/Controller/GroupsController.php
+++ b/apps/provisioning_api/lib/Controller/GroupsController.php
@@ -34,7 +34,7 @@ declare(strict_types=1);
namespace OCA\Provisioning_API\Controller;
-use OC\Accounts\AccountManager;
+use OCP\Accounts\IAccountManager;
use OCP\AppFramework\Http\DataResponse;
use OCP\AppFramework\OCS\OCSException;
use OCP\AppFramework\OCS\OCSForbiddenException;
@@ -61,7 +61,7 @@ class GroupsController extends AUserData {
IConfig $config,
IGroupManager $groupManager,
IUserSession $userSession,
- AccountManager $accountManager,
+ IAccountManager $accountManager,
IFactory $l10nFactory,
LoggerInterface $logger) {
parent::__construct($appName,