]> source.dussan.org Git - nextcloud-server.git/commitdiff
do not remove the method and only keep the tests
authorMorris Jobke <hey@morrisjobke.de>
Thu, 23 Mar 2017 19:10:43 +0000 (13:10 -0600)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 23 Mar 2017 19:10:43 +0000 (13:10 -0600)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/files_sharing/lib/Cache.php

index 000cbf1baa5409db464e43f807794c0c2e1053c2..bc10ddbd94f0144e4e6351a331d4af4d5fda51c1 100644 (file)
@@ -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);