do not remove the method and only keep the tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/4004/head
Morris Jobke 9 years ago
parent 89c42a76c3
commit 869ba16273
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
  1. 8
      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);

Loading…
Cancel
Save