diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-07-08 15:55:17 +0200 |
commit | c2d88a08b796ca19c8b5ec63bfd34ac32ead4208 (patch) | |
tree | f18e0ba4d05361456a6712378ccc0784620c1e9c /apps | |
parent | 48f9e4ed03f3148d62919a95496ee43164d3e707 (diff) | |
download | nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.tar.gz nextcloud-server-c2d88a08b796ca19c8b5ec63bfd34ac32ead4208.zip |
Remove unneeded checks if it runs on a Windows machine
* the setup check is still there
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_external/lib/AppInfo/Application.php | 7 |
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; } |