From 4ea7a349d22c200e642823c5d0c520652435f4e4 Mon Sep 17 00:00:00 2001 From: Robin McCorkell Date: Mon, 30 May 2016 21:25:10 +0100 Subject: [PATCH] Fix SMB backend registration --- apps/files_external/lib/AppInfo/Application.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/files_external/lib/AppInfo/Application.php b/apps/files_external/lib/AppInfo/Application.php index c77a2ae528..f78411038f 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;