diff options
author | Robin Appelman <robin@icewind.nl> | 2014-12-10 15:03:41 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2014-12-10 15:03:41 +0100 |
commit | 3898fbc0d2d65785b8b132645c5bf99077d16818 (patch) | |
tree | ca72ffb2296d27f1b79c999c9d6436bf4159bda8 /lib | |
parent | fd2599cfc2ae213d992b9711981f9899d314d0df (diff) | |
parent | ebba54d4902113af3ad3f91159861f93546c8401 (diff) | |
download | nextcloud-server-3898fbc0d2d65785b8b132645c5bf99077d16818.tar.gz nextcloud-server-3898fbc0d2d65785b8b132645c5bf99077d16818.zip |
Merge pull request #12750 from owncloud/cache-numericstorageidfix
Fix numeric storage id for cache wrapper
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/cache/wrapper/cachewrapper.php | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ -234,6 +234,15 @@ class CacheWrapper extends Cache { } /** + * 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 * instead does a global search in the cache table |