From 869ba16273ededa4637c5ddeaab11533fb4e455f Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 23 Mar 2017 13:10:43 -0600 Subject: [PATCH] do not remove the method and only keep the tests Signed-off-by: Morris Jobke --- apps/files_sharing/lib/Cache.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php index 000cbf1baa..bc10ddbd94 100644 --- a/apps/files_sharing/lib/Cache.php +++ b/apps/files_sharing/lib/Cache.php @@ -71,6 +71,14 @@ 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);