Skip to content
Snippets Groups Projects
Commit 1e3d8064 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #2113 from nextcloud/downstream-26299

We need to ensure that the app holding the objectstore implementation…
parents 04f8521b 895b638a
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,11 @@ class OC_Util {
}
// instantiate object store implementation
$name = $config['class'];
if (strpos($name, 'OCA\\') === 0 && substr_count($name, '\\') >= 2) {
$segments = explode('\\', $name);
OC_App::loadApp(strtolower($segments[1]));
}
$config['arguments']['objectstore'] = new $config['class']($config['arguments']);
// mount with plain / root object store implementation
$config['class'] = '\OC\Files\ObjectStore\ObjectStoreStorage';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment