summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-07-11 13:16:03 +0200
committerGitHub <noreply@github.com>2016-07-11 13:16:03 +0200
commit0c1cf5f7eb15532901aa3b4f29a4e3ee5fa58467 (patch)
tree1503a3a06e94d9f36b1675a0b4f46284c0f83b23 /apps
parent34c0b9d2c02f787b46dd27af66ab2726d6024636 (diff)
parent6ea77abb38e4b85556ccde8801071f5f10a92ced (diff)
downloadnextcloud-server-0c1cf5f7eb15532901aa3b4f29a4e3ee5fa58467.tar.gz
nextcloud-server-0c1cf5f7eb15532901aa3b4f29a4e3ee5fa58467.zip
Merge pull request #347 from nextcloud/drop-windows-foo
Remove unneeded checks if it runs on a Windows machine
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/lib/AppInfo/Application.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php
index 0ee4e9b3d5c..c3c1b764c5a 100644
--- a/apps/files_external/lib/AppInfo/Application.php
+++ b/apps/files_external/lib/AppInfo/Application.php
@@ -90,13 +90,10 @@ class Application extends App implements IBackendProvider, IAuthMechanismProvide
$container->query('OCA\Files_External\Lib\Backend\Google'),
$container->query('OCA\Files_External\Lib\Backend\Swift'),
$container->query('OCA\Files_External\Lib\Backend\SFTP_Key'),
+ $container->query('OCA\Files_External\Lib\Backend\SMB'),
+ $container->query('OCA\Files_External\Lib\Backend\SMB_OC'),
];
- if (!\OC_Util::runningOnWindows()) {
- $backends[] = $container->query('OCA\Files_External\Lib\Backend\SMB');
- $backends[] = $container->query('OCA\Files_External\Lib\Backend\SMB_OC');
- }
-
return $backends;
}