From 6eaaef1403e3a8cd3898732da0a2918817a95b4e Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Thu, 13 Jul 2023 00:01:32 +0200 Subject: [PATCH] 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 --- lib/private/Files/Node/NonExistingFolder.php | 4 ++++ 1 file changed, 4 insertions(+) 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(); } -- 2.39.5