aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/AppInfo
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/AppInfo')
-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;