aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-05-21 20:02:50 +0200
committerGitHub <noreply@github.com>2019-05-21 20:02:50 +0200
commit9daee196a3ebe8373cdce9c6770c5b0641566839 (patch)
treedb60be226f9ecc1fe67d146dfd93f1565d00af5e /lib
parentd3511f69f9ff51631e98db17a2ebc9cf97cdc75f (diff)
parent439b341e89b8db4a155668b346deb0cf50243e25 (diff)
downloadnextcloud-server-9daee196a3ebe8373cdce9c6770c5b0641566839.tar.gz
nextcloud-server-9daee196a3ebe8373cdce9c6770c5b0641566839.zip
Merge pull request #15660 from nextcloud/objectstore-get
add method to get the used object store from the storage
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;
+ }
}