diff options
author | Robin McCorkell <robin@mccorkell.me.uk> | 2016-05-30 21:25:10 +0100 |
---|---|---|
committer | Robin McCorkell <robin@mccorkell.me.uk> | 2016-05-30 21:25:10 +0100 |
commit | 4ea7a349d22c200e642823c5d0c520652435f4e4 (patch) | |
tree | 581e8cac359b0936f6551551ef8907e5de7146cf /apps | |
parent | 76c0bc29fe2caaddce4e21b80b51781969287eb9 (diff) | |
download | nextcloud-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.php | 6 |
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; |