Skip to content

Commit 96e9e68

Browse files
committed
chore: Remove unused getGroupFolderRootId
Signed-off-by: Marcel Müller <[email protected]>
1 parent 0a5d643 commit 96e9e68

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

lib/Folder/FolderManager.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -119,20 +119,6 @@ public function getAllFolders(): array {
119119
return $folderMap;
120120
}
121121

122-
/**
123-
* @throws Exception
124-
*/
125-
private function getGroupFolderRootId(int $rootStorageId): int {
126-
$query = $this->connection->getQueryBuilder();
127-
128-
$query->select('fileid')
129-
->from('filecache')
130-
->where($query->expr()->eq('storage', $query->createNamedParameter($rootStorageId)))
131-
->andWhere($query->expr()->eq('path_hash', $query->createNamedParameter(md5('__groupfolders'))));
132-
133-
return (int)$query->executeQuery()->fetchOne();
134-
}
135-
136122
private function joinQueryWithFileCache(IQueryBuilder $query, int $rootStorageId): void {
137123
$conditions = [
138124
$query->expr()->eq('c.fileid', 'f.root_id'),

0 commit comments

Comments
 (0)