summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-05-21 17:18:00 +0200
committerRobin Appelman <robin@icewind.nl>2019-05-21 17:18:00 +0200
commit439b341e89b8db4a155668b346deb0cf50243e25 (patch)
tree5519c0dff1881c7a2f4a2395dfa78ea36ccb15ef /lib
parenta3b4410283a0517b458deacc8ee704c12ec028bd (diff)
downloadnextcloud-server-439b341e89b8db4a155668b346deb0cf50243e25.tar.gz
nextcloud-server-439b341e89b8db4a155668b346deb0cf50243e25.zip
add method to get the used object store from the storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Files/ObjectStore/ObjectStoreStorage.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
index 83a649e6084..30a946dcc3c 100644
--- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php
+++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php
@@ -476,4 +476,8 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common {
return $size;
}
+
+ public function getObjectStore(): IObjectStore {
+ return $this->objectStore;
+ }
}