From 439b341e89b8db4a155668b346deb0cf50243e25 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 21 May 2019 17:18:00 +0200 Subject: [PATCH] add method to get the used object store from the storage Signed-off-by: Robin Appelman --- lib/private/Files/ObjectStore/ObjectStoreStorage.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php index 83a649e608..30a946dcc3 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; + } }