diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-05-31 10:50:29 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-05-31 10:50:29 +0200 |
commit | c6183f167cb6ad3171c7e7e652bf14d2a3471711 (patch) | |
tree | aaf7ee4ab39fccb628e928c2b7a564ce9a34ebab /apps/files_external | |
parent | 9a9c1b9439055fc6ad9f8372b354e4fc7ce3bc02 (diff) | |
parent | 4ea7a349d22c200e642823c5d0c520652435f4e4 (diff) | |
download | nextcloud-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.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; |