From ebba54d4902113af3ad3f91159861f93546c8401 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Wed, 10 Dec 2014 12:55:01 +0100 Subject: Fix numeric storage id for cache wrapper --- lib/private/files/cache/wrapper/cachewrapper.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/private/files/cache/wrapper') diff --git a/lib/private/files/cache/wrapper/cachewrapper.php b/lib/private/files/cache/wrapper/cachewrapper.php index 040358ec657..d3d64e3f0a9 100644 --- a/lib/private/files/cache/wrapper/cachewrapper.php +++ b/lib/private/files/cache/wrapper/cachewrapper.php @@ -233,6 +233,15 @@ class CacheWrapper extends Cache { return $this->cache->getPathById($id); } + /** + * Returns the numeric storage id + * + * @return int + */ + public function getNumericStorageId() { + return $this->cache->getNumericStorageId(); + } + /** * get the storage id of the storage for a file and the internal path of the file * unlike getPathById this does not limit the search to files on this storage and -- cgit v1.2.3