]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(node): non-existing folder is not searchable 39370/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 12 Jul 2023 22:01:32 +0000 (00:01 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 13 Jul 2023 14:33:05 +0000 (14:33 +0000)
the previosuly introduced searchBySystemTag was not overwritten in
NonExistingFolder and could run the inherited method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
lib/private/Files/Node/NonExistingFolder.php

index 100687c3e6fe75f51471a505ad84955e32c62296..2567e4679effee0b1ba147ac166cbda28d804478 100644 (file)
@@ -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();
        }