diff options
author | Morris Jobke <hey@morrisjobke.de> | 2021-03-31 21:23:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-31 21:23:23 +0200 |
commit | 6a81477ffe6fa94722c7a7001731b7d761f3ef30 (patch) | |
tree | 98f3df6cc5725fcb2b1871160f83fc0b0d0a0d82 /apps | |
parent | ecf287a0947978ef51e70bc7aa44a5209e1d26ae (diff) | |
parent | 65b78515bd5864eb456c0717102a2b6eed7245cc (diff) | |
download | nextcloud-server-6a81477ffe6fa94722c7a7001731b7d761f3ef30.tar.gz nextcloud-server-6a81477ffe6fa94722c7a7001731b7d761f3ef30.zip |
Merge pull request #25326 from nextcloud/ldap-factory-no-ldap
make ILDAPProviderFactory usable when there is no ldap setup
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/LDAPProviderFactory.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/user_ldap/lib/LDAPProviderFactory.php b/apps/user_ldap/lib/LDAPProviderFactory.php index a64425afad0..d70e45c6a96 100644 --- a/apps/user_ldap/lib/LDAPProviderFactory.php +++ b/apps/user_ldap/lib/LDAPProviderFactory.php @@ -41,4 +41,8 @@ class LDAPProviderFactory implements ILDAPProviderFactory { public function getLDAPProvider(): ILDAPProvider { return $this->serverContainer->get(LDAPProvider::class); } + + public function isAvailable(): bool { + return true; + } } |