From: Arthur Schiwon Date: Wed, 12 Jul 2023 22:01:32 +0000 (+0200) Subject: fix(node): non-existing folder is not searchable X-Git-Tag: v28.0.0beta1~709^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f2642fccebcc881d2c29d5a7de6946e3419f9a88;p=nextcloud-server.git 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 --- 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(); }