diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-03-23 13:10:43 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-03-23 13:10:43 -0600 |
commit | 869ba16273ededa4637c5ddeaab11533fb4e455f (patch) | |
tree | 6d859a9fac5355f73cb09db61c0454c063bfc03c /apps | |
parent | 89c42a76c34aba7dd4c23649f97495283cf023ba (diff) | |
download | nextcloud-server-869ba16273ededa4637c5ddeaab11533fb4e455f.tar.gz nextcloud-server-869ba16273ededa4637c5ddeaab11533fb4e455f.zip |
do not remove the method and only keep the tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/lib/Cache.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_sharing/lib/Cache.php b/apps/files_sharing/lib/Cache.php index 000cbf1baa5..bc10ddbd94f 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); |