summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorTobia De Koninck <tobia@ledfan.be>2017-08-15 17:42:41 +0200
committerTobia De Koninck <tobia@ledfan.be>2017-08-15 17:47:54 +0200
commit23039e882f4d74413f0e4beacada8d9e1333d8d9 (patch)
treea9abd403acc1c1973f6358edc75052d6053816f1 /settings/Controller
parentcf7c4a4439da66055db5b43f9d6bc6e4671aa3e4 (diff)
downloadnextcloud-server-23039e882f4d74413f0e4beacada8d9e1333d8d9.tar.gz
nextcloud-server-23039e882f4d74413f0e4beacada8d9e1333d8d9.zip
Fix group management which was broken since #5847
Signed-off-by: Tobia De Koninck <tobia@ledfan.be>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/UsersController.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index 4b03cf91a10..cb191441c9a 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -45,6 +45,7 @@ use OCP\Files\Config\IUserMountCache;
use OCP\Encryption\IEncryptionModule;
use OCP\Encryption\IManager;
use OCP\IConfig;
+use OCP\IGroupManager;
use OCP\IL10N;
use OCP\ILogger;
use OCP\IRequest;
@@ -70,7 +71,7 @@ class UsersController extends Controller {
private $isAdmin;
/** @var IUserManager */
private $userManager;
- /** @var \OC\Group\Manager */
+ /** @var IGroupManager */
private $groupManager;
/** @var IConfig */
private $config;
@@ -112,7 +113,7 @@ class UsersController extends Controller {
* @param string $appName
* @param IRequest $request
* @param IUserManager $userManager
- * @param \OC\Group\Manager $groupManager
+ * @param IGroupManager $groupManager
* @param IUserSession $userSession
* @param IConfig $config
* @param bool $isAdmin
@@ -135,7 +136,7 @@ class UsersController extends Controller {
public function __construct($appName,
IRequest $request,
IUserManager $userManager,
- \OC\Group\Manager $groupManager,
+ IGroupManager $groupManager,
IUserSession $userSession,
IConfig $config,
$isAdmin,