diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-07-18 15:06:55 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-07-26 12:29:19 +0200 |
commit | 0487144b2679f83f9a6b59b55561af062f692836 (patch) | |
tree | e2bd28fe000bb4fba8aed4f657ce16dbc2c40621 /lib/private/Files/Cache/Wrapper | |
parent | b2341cdfd02b3e8ad90f8ae41320f708c3d54bb6 (diff) | |
download | nextcloud-server-0487144b2679f83f9a6b59b55561af062f692836.tar.gz nextcloud-server-0487144b2679f83f9a6b59b55561af062f692836.zip |
Remove deprecated searchByTag
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Files/Cache/Wrapper')
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheJail.php | 12 | ||||
-rw-r--r-- | lib/private/Files/Cache/Wrapper/CacheWrapper.php | 12 |
2 files changed, 0 insertions, 24 deletions
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 @@ -248,18 +248,6 @@ class CacheJail extends CacheWrapper { } /** - * 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 * * @param string|boolean $path 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 @@ -241,18 +241,6 @@ class CacheWrapper extends Cache { } /** - * 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 * * @param string|boolean $path |