summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/backend/smb.php
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-09-15 19:36:43 +0100
committerRobin McCorkell <rmccorkell@owncloud.com>2015-09-15 19:36:43 +0100
commit0667c4363d2777b3534e72afe536eb9a9aa0ef3e (patch)
treec6d60bfea748404f01d0208d9ac08680fbbede06 /apps/files_external/lib/backend/smb.php
parent6379b1932ff6440865f765a918ff097849ed785f (diff)
parent230029e5090b3deecb941e75bbc34a6bcb98c374 (diff)
downloadnextcloud-server-0667c4363d2777b3534e72afe536eb9a9aa0ef3e.tar.gz
nextcloud-server-0667c4363d2777b3534e72afe536eb9a9aa0ef3e.zip
Merge branch 'master' into smb-workgroup
Diffstat (limited to 'apps/files_external/lib/backend/smb.php')
-rw-r--r--apps/files_external/lib/backend/smb.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_external/lib/backend/smb.php b/apps/files_external/lib/backend/smb.php
index dc15f6d3dbf..0613d3112ee 100644
--- a/apps/files_external/lib/backend/smb.php
+++ b/apps/files_external/lib/backend/smb.php
@@ -26,11 +26,14 @@ use \OCA\Files_External\Lib\Backend\Backend;
use \OCA\Files_External\Lib\DefinitionParameter;
use \OCA\Files_External\Lib\Auth\AuthMechanism;
use \OCA\Files_External\Service\BackendService;
+use \OCA\Files_External\Lib\LegacyDependencyCheckPolyfill;
use \OCA\Files_External\Lib\Auth\Password\Password;
class SMB extends Backend {
+ use LegacyDependencyCheckPolyfill;
+
public function __construct(IL10N $l, Password $legacyAuth) {
$this
->setIdentifier('smb')
@@ -45,7 +48,6 @@ class SMB extends Backend {
(new DefinitionParameter('domain', $l->t('Domain')))
->setFlag(DefinitionParameter::FLAG_OPTIONAL),
])
- ->setDependencyCheck('\OC\Files\Storage\SMB::checkDependencies')
->addAuthScheme(AuthMechanism::SCHEME_PASSWORD)
->setLegacyAuthMechanism($legacyAuth)
;