Skip to content

Commit

Permalink
Merge pull request #24904 from owncloud/ext-fix-smb
Browse files Browse the repository at this point in the history
Fix SMB backend registration
  • Loading branch information
Vincent Petry committed May 31, 2016
2 parents 9a9c1b9 + 4ea7a34 commit c6183f1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions apps/files_external/lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@ public function getBackends() {
];

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;
Expand Down

0 comments on commit c6183f1

Please sign in to comment.