]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(node): non-existing folder is not searchable 39339/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 12 Jul 2023 22:01:32 +0000 (00:01 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 12 Jul 2023 22:01:32 +0000 (00:01 +0200)
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 0d573df7727c21d469baba7dba09c3017121eae9..34621b18f19a358618bde92addf9347d2ef7f6cb 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();
        }