aboutsummaryrefslogtreecommitdiffstats
path: root/apps/provisioning_api/lib/Controller/GroupsController.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-11-25 17:30:32 +0100
committerRobin Appelman <robin@icewind.nl>2025-01-16 17:06:04 +0100
commit3a2b3c75f20d1bd2ac22d79a4372c6c5c0b5fa2f (patch)
tree8e04572682efd8693046fde97d9492cc81c07aec /apps/provisioning_api/lib/Controller/GroupsController.php
parent8998e77c9d35d1c6183ac5d47f8e1ee9cdefa77f (diff)
downloadnextcloud-server-ocs-user-info-quota-optimize.tar.gz
nextcloud-server-ocs-user-info-quota-optimize.zip
perf: use more optimized way to get user storage info in ocs user info when possibleocs-user-info-quota-optimize
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/provisioning_api/lib/Controller/GroupsController.php')
-rw-r--r--apps/provisioning_api/lib/Controller/GroupsController.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/GroupsController.php b/apps/provisioning_api/lib/Controller/GroupsController.php
index 0ae7faae7e8..3d9fa6b1cfc 100644
--- a/apps/provisioning_api/lib/Controller/GroupsController.php
+++ b/apps/provisioning_api/lib/Controller/GroupsController.php
@@ -21,6 +21,7 @@ use OCP\AppFramework\OCS\OCSException;
use OCP\AppFramework\OCS\OCSForbiddenException;
use OCP\AppFramework\OCS\OCSNotFoundException;
use OCP\AppFramework\OCSController;
+use OCP\Files\IRootFolder;
use OCP\Group\ISubAdmin;
use OCP\IConfig;
use OCP\IGroup;
@@ -48,6 +49,7 @@ class GroupsController extends AUserDataOCSController {
IAccountManager $accountManager,
ISubAdmin $subAdminManager,
IFactory $l10nFactory,
+ IRootFolder $rootFolder,
private LoggerInterface $logger,
) {
parent::__construct($appName,
@@ -58,7 +60,8 @@ class GroupsController extends AUserDataOCSController {
$userSession,
$accountManager,
$subAdminManager,
- $l10nFactory
+ $l10nFactory,
+ $rootFolder,
);
}