mirror of
https://github.com/nextcloud/server.git
synced 2026-04-23 07:08:34 -04:00
Fix SMB backend registration
This commit is contained in:
parent
76c0bc29fe
commit
4ea7a349d2
1 changed files with 2 additions and 4 deletions
|
|
@ -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 a new issue