aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-13 00:01:32 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-13 00:01:32 +0200
commitf2642fccebcc881d2c29d5a7de6946e3419f9a88 (patch)
tree8eab05431915d39a35f05ac0643203a1ee3af7ec /lib/private/Files
parente9ac0287f2b7d4da856bec416a282c8fc4c7feab (diff)
downloadnextcloud-server-f2642fccebcc881d2c29d5a7de6946e3419f9a88.tar.gz
nextcloud-server-f2642fccebcc881d2c29d5a7de6946e3419f9a88.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/private/Files')
-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();
}