Browse Source
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
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with
8 additions and
0 deletions
-
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); |
|
|
|
|