Skip to content

Commit 244782e

Browse files
CarlSchwanbackportbot[bot]
authored andcommitted
perf: Don't fetch full group object in AuthorizedGroupMapper
perf: Don't fetch full group object in AuthorizedGroupMapper This is very expensive when multiple group backends are enabled as we don't cache which groups is included in which backend unlike in the User Manager. Signed-off-by: Carl Schwan <carlschwan@kde.org> [skip ci]
1 parent e0b9bbc commit 244782e

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/private/Settings/AuthorizedGroupMapper.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use OCP\DB\Exception;
1212
use OCP\DB\QueryBuilder\IQueryBuilder;
1313
use OCP\IDBConnection;
14-
use OCP\IGroup;
1514
use OCP\IGroupManager;
1615
use OCP\IUser;
1716

0 commit comments

Comments
 (0)