diff options
Diffstat (limited to 'lib/private/files/storage/home.php')
-rw-r--r-- | lib/private/files/storage/home.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/files/storage/home.php b/lib/private/files/storage/home.php index bf1d6017cbf..22753519ad3 100644 --- a/lib/private/files/storage/home.php +++ b/lib/private/files/storage/home.php @@ -27,4 +27,11 @@ class Home extends Local { public function getId() { return 'home::' . $this->user->getUID(); } + + public function getCache($path = '') { + if (!isset($this->cache)) { + $this->cache = new \OC\Files\Cache\HomeCache($this); + } + return $this->cache; + } } |