fix(node): non-existing folder is not searchable

the previosuly introduced searchBySystemTag was not overwritten in
NonExistingFolder and could run the inherited method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2023-07-13 00:01:32 +02:00 committed by backportbot-nextcloud[bot]
parent 7eff5b06ac
commit 6eaaef1403

View file

@ -154,6 +154,10 @@ class NonExistingFolder extends Folder {
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();
}