summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-06 22:33:20 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2023-07-07 12:25:04 +0200
commita7b4f502aa546fd7046316a92078d4fd44162fe4 (patch)
tree7824f16c120d352f2515f5391ca93115b743c678 /lib
parent35de0b5504c43722e4a7c66e8830687130652b23 (diff)
downloadnextcloud-server-a7b4f502aa546fd7046316a92078d4fd44162fe4.tar.gz
nextcloud-server-a7b4f502aa546fd7046316a92078d4fd44162fe4.zip
refactor: adjust to unexposed searchBySystemTag
- in this backport we have to drop the breaking addition in \OCP\Files\Folder - this requires adjustments in check for the existance of the method but also in testing - another change in \OCP\SystemTag\ISystemTagManager can be applied as this interface is not implemented elsewhere Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/Node/LazyFolder.php4
-rw-r--r--lib/public/SystemTag/ISystemTagManager.php2
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/Files/Node/LazyFolder.php b/lib/private/Files/Node/LazyFolder.php
index 9f9528f69bd..e87e1b72002 100644
--- a/lib/private/Files/Node/LazyFolder.php
+++ b/lib/private/Files/Node/LazyFolder.php
@@ -449,6 +449,10 @@ class LazyFolder implements Folder {
return $this->__call(__FUNCTION__, func_get_args());
}
+ public function searchBySystemTag(string $tagName, string $userId, int $limit = 0, int $offset = 0): array {
+ return $this->__call(__FUNCTION__, func_get_args());
+ }
+
/**
* @inheritDoc
*/
diff --git a/lib/public/SystemTag/ISystemTagManager.php b/lib/public/SystemTag/ISystemTagManager.php
index 0f5c373c49f..93eda57f0c4 100644
--- a/lib/public/SystemTag/ISystemTagManager.php
+++ b/lib/public/SystemTag/ISystemTagManager.php
@@ -46,7 +46,7 @@ interface ISystemTagManager {
* @throws TagNotFoundException if at least one given tag ids did no exist
* The message contains a json_encoded array of the ids that could not be found
*
- * @since 9.0.0, optional parameter $user added in 28.0.0
+ * @since 9.0.0, optional parameter $user added in 27.0.1
*/
public function getTagsByIds($tagIds, ?IUser $user = null): array;