Skip to content

Commit

Permalink
fix(node): non-existing folder is not searchable
Browse files Browse the repository at this point in the history
the previosuly introduced searchBySystemTag was not overwritten in
NonExistingFolder and could run the inherited method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz authored and backportbot-nextcloud[bot] committed Jul 13, 2023
1 parent 7eff5b0 commit 6eaaef1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/private/Files/Node/NonExistingFolder.php
Expand Up @@ -154,6 +154,10 @@ public function searchByTag($tag, $userId) {
throw new NotFoundException();
}

public function searchBySystemTag(string $tagName, string $userId, int $limit = 0, int $offset = 0): array {
throw new NotFoundException();
}

public function getById($id) {
throw new NotFoundException();
}
Expand Down

0 comments on commit 6eaaef1

Please sign in to comment.