mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
Merge pull request #9328 from owncloud/extstorage-annoyingwarnings
Fix warnings when personal is not set
This commit is contained in:
commit
577d06ea4d
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue