summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-13 00:01:32 +0200
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2023-07-13 14:26:26 +0000
commitbf0059127838c33a611a5b21844806e55e2040a7 (patch)
treef86ab1f6f9de3a085165cc15914c426cda61f09e /lib
parent4e4a6cec5addfda227808a648f9461c2052fa7ea (diff)
downloadnextcloud-server-bf0059127838c33a611a5b21844806e55e2040a7.tar.gz
nextcloud-server-bf0059127838c33a611a5b21844806e55e2040a7.zip
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Node/NonExistingFolder.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/Node/NonExistingFolder.php b/lib/private/Files/Node/NonExistingFolder.php
index 0d573df7727..34621b18f19 100644
--- a/lib/private/Files/Node/NonExistingFolder.php
+++ b/lib/private/Files/Node/NonExistingFolder.php
@@ -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();
}