aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2021-03-31 21:23:23 +0200
committerGitHub <noreply@github.com>2021-03-31 21:23:23 +0200
commit6a81477ffe6fa94722c7a7001731b7d761f3ef30 (patch)
tree98f3df6cc5725fcb2b1871160f83fc0b0d0a0d82 /apps
parentecf287a0947978ef51e70bc7aa44a5209e1d26ae (diff)
parent65b78515bd5864eb456c0717102a2b6eed7245cc (diff)
downloadnextcloud-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.php4
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;
+ }
}