From e6438c39670d314e82f4f05931a3a9a0e943e9c0 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 d99446e8ff81c..3153567f0c5a6 100644 --- a/lib/private/Files/Node/NonExistingFolder.php +++ b/lib/private/Files/Node/NonExistingFolder.php @@ -154,6 +154,10 @@ public function searchByTag($tag, $userId) { 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(); }