Skip to content
Snippets Groups Projects
Commit 577d06ea authored by Vincent Petry's avatar Vincent Petry
Browse files

Merge pull request #9328 from owncloud/extstorage-annoyingwarnings

Fix warnings when personal is not set
parents 616f9b1e 5e6f6da7
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ class OC_Mount_Config {
$objectClass = $options['options']['objectstore']['class'];
$options['options']['objectstore'] = new $objectClass($options['options']['objectstore']);
}
if ($options['personal']){
if (isset($options['personal']) && $options['personal']) {
$mount = new \OCA\Files_External\PersonalMount($options['class'], $mountPoint, $options['options'], $loader);
} else{
$mount = new \OC\Files\Mount\Mount($options['class'], $mountPoint, $options['options'], $loader);
......
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