summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin McCorkell <robin@mccorkell.me.uk>2016-05-30 21:25:10 +0100
committerRobin McCorkell <robin@mccorkell.me.uk>2016-05-30 21:25:10 +0100
commit4ea7a349d22c200e642823c5d0c520652435f4e4 (patch)
tree581e8cac359b0936f6551551ef8907e5de7146cf /apps
parent76c0bc29fe2caaddce4e21b80b51781969287eb9 (diff)
downloadnextcloud-server-4ea7a349d22c200e642823c5d0c520652435f4e4.tar.gz
nextcloud-server-4ea7a349d22c200e642823c5d0c520652435f4e4.zip
Fix SMB backend registration
Diffstat (limited to 'apps')
-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;