Merge pull request #24904 from owncloud/ext-fix-smb
Fix SMB backend registration
This commit is contained in:
commit
c6183f167c
|
@ -89,10 +89,8 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
|
|||
];
|
||||
|
||||
if (!\OC_Util::runningOnWindows()) {
|
||||
$backends += [
|
||||
$container->query('OCA\Files_External\Lib\Backend\SMB'),
|
||||
$container->query('OCA\Files_External\Lib\Backend\SMB_OC'),
|
||||
];
|
||||
$backends[] = $container->query('OCA\Files_External\Lib\Backend\SMB');
|
||||
$backends[] = $container->query('OCA\Files_External\Lib\Backend\SMB_OC');
|
||||
}
|
||||
|
||||
return $backends;
|
||||
|
|
Loading…
Reference in New Issue