From 0487144b2679f83f9a6b59b55561af062f692836 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 18 Jul 2019 15:06:55 +0200 Subject: Remove deprecated searchByTag Signed-off-by: Roeland Jago Douma --- lib/private/Files/Cache/Wrapper/CacheJail.php | 12 ------------ lib/private/Files/Cache/Wrapper/CacheWrapper.php | 12 ------------ 2 files changed, 24 deletions(-) (limited to 'lib/private/Files/Cache/Wrapper') diff --git a/lib/private/Files/Cache/Wrapper/CacheJail.php b/lib/private/Files/Cache/Wrapper/CacheJail.php index 7e113d13678..44402e3382a 100644 --- a/lib/private/Files/Cache/Wrapper/CacheJail.php +++ b/lib/private/Files/Cache/Wrapper/CacheJail.php @@ -247,18 +247,6 @@ class CacheJail extends CacheWrapper { return $results; } - /** - * search for files by mimetype - * - * @param string|int $tag name or tag id - * @param string $userId owner of the tags - * @return array - */ - public function searchByTag($tag, $userId) { - $results = $this->getCache()->searchByTag($tag, $userId); - return $this->formatSearchResults($results); - } - /** * update the folder size and the size of all parent folders * diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php index 223e678f323..6d7f1876e29 100644 --- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php +++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php @@ -240,18 +240,6 @@ class CacheWrapper extends Cache { return array_map(array($this, 'formatCacheEntry'), $results); } - /** - * search for files by tag - * - * @param string|int $tag name or tag id - * @param string $userId owner of the tags - * @return ICacheEntry[] file data - */ - public function searchByTag($tag, $userId) { - $results = $this->getCache()->searchByTag($tag, $userId); - return array_map(array($this, 'formatCacheEntry'), $results); - } - /** * update the folder size and the size of all parent folders * -- cgit v1.2.3