summaryrefslogtreecommitdiffstats
path: root/apps/files_external
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-31 10:50:29 +0200
committerVincent Petry <pvince81@owncloud.com>2016-05-31 10:50:29 +0200
commitc6183f167cb6ad3171c7e7e652bf14d2a3471711 (patch)
treeaaf7ee4ab39fccb628e928c2b7a564ce9a34ebab /apps/files_external
parent9a9c1b9439055fc6ad9f8372b354e4fc7ce3bc02 (diff)
parent4ea7a349d22c200e642823c5d0c520652435f4e4 (diff)
downloadnextcloud-server-c6183f167cb6ad3171c7e7e652bf14d2a3471711.tar.gz
nextcloud-server-c6183f167cb6ad3171c7e7e652bf14d2a3471711.zip
Merge pull request #24904 from owncloud/ext-fix-smb
Fix SMB backend registration
Diffstat (limited to 'apps/files_external')
-rw-r--r--apps/files_external/lib/AppInfo/Application.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php
index c77a2ae5280..f78411038fa 100644
--- a/apps/files_external/lib/AppInfo/Application.php
+++ b/apps/files_external/lib/AppInfo/Application.php
@@ -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;