Fix SMB backend registration

This commit is contained in:
Robin McCorkell 2016-05-30 21:25:10 +01:00
parent 76c0bc29fe
commit 4ea7a349d2
1 changed files with 2 additions and 4 deletions

View File

@ -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;