summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Cache.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2017-02-16 11:47:16 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-03-23 00:02:48 -0600
commit89c42a76c34aba7dd4c23649f97495283cf023ba (patch)
tree4252d22cb431a00f8dcda5d52e0080d1fdff16d8 /apps/files_sharing/lib/Cache.php
parent39ac804899197069b40384afdc40966e22658eca (diff)
downloadnextcloud-server-89c42a76c34aba7dd4c23649f97495283cf023ba.tar.gz
nextcloud-server-89c42a76c34aba7dd4c23649f97495283cf023ba.zip
Remove SharedCache::getNumericStorageId to let CacheWrapper do it
The CacheWrapper will properly forward the call to the wrapped cache. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing/lib/Cache.php')
-rw-r--r--apps/files_sharing/lib/Cache.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php
index bc10ddbd94f..000cbf1baa5 100644
--- a/apps/files_sharing/lib/Cache.php
+++ b/apps/files_sharing/lib/Cache.php
@@ -71,14 +71,6 @@ class Cache extends CacheJail {
return $this->cache;
}
- public function getNumericStorageId() {
- if (isset($this->numericId)) {
- return $this->numericId;
- } else {
- return false;
- }
- }
-
public function get($file) {
if ($this->rootUnchanged && ($file === '' || $file === $this->sourceRootInfo->getId())) {
return $this->formatCacheEntry(clone $this->sourceRootInfo);