summaryrefslogtreecommitdiffstats
path: root/apps/files_external/appinfo/application.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-12 22:13:27 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 14:41:43 +0100
commitab8c738b8d6de6ff984ec9d2397b92020a5c27c4 (patch)
tree93cd9c9b1fa632c77944fe0f0d50ed04d596420a /apps/files_external/appinfo/application.php
parent0f1809eced9296ab6b9cb9ea9084563781e74941 (diff)
downloadnextcloud-server-ab8c738b8d6de6ff984ec9d2397b92020a5c27c4.tar.gz
nextcloud-server-ab8c738b8d6de6ff984ec9d2397b92020a5c27c4.zip
Migrate SMB external storage to new API
Diffstat (limited to 'apps/files_external/appinfo/application.php')
-rw-r--r--apps/files_external/appinfo/application.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/files_external/appinfo/application.php b/apps/files_external/appinfo/application.php
index 0e0c2f3e265..d930e8fc137 100644
--- a/apps/files_external/appinfo/application.php
+++ b/apps/files_external/appinfo/application.php
@@ -63,6 +63,12 @@ class Application extends App {
$container->query('OCA\Files_External\Lib\Backend\Local'),
$container->query('OCA\Files_External\Lib\Backend\FTP'),
]);
+
+ if (!\OC_Util::runningOnWindows()) {
+ $service->registerBackends([
+ $container->query('OCA\Files_External\Lib\Backend\SMB'),
+ ]);
+ }
}
/**