Merge pull request #20301 from owncloud/fix-files_external-empty-user-mounting

[files_external] fix empty user mounts setting
This commit is contained in:
Thomas Müller 2015-11-05 11:36:36 +01:00
commit 8bffc84766

View file

@ -72,6 +72,11 @@ class BackendService {
$this->userMountingBackends = explode(',',
$this->config->getAppValue('files_external', 'user_mounting_backends', '')
);
// if no backend is in the list an empty string is in the array and user mounting is disabled
if ($this->userMountingBackends === ['']) {
$this->userMountingAllowed = false;
}
}
/**