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:33:05 +0000
commit6eaaef1403e3a8cd3898732da0a2918817a95b4e (patch)
tree809de3ccba547844d7272c76508d81aca00747e2 /lib
parent7eff5b06accbc7baaa5d9665f02127bdd36cf02a (diff)
downloadnextcloud-server-6eaaef1403e3a8cd3898732da0a2918817a95b4e.tar.gz
nextcloud-server-6eaaef1403e3a8cd3898732da0a2918817a95b4e.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 100687c3e6f..2567e4679ef 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();
}