You are here

function ldap_servers_update_8302 in Lightweight Directory Access Protocol (LDAP) 8.3

Same name and namespace in other branches
  1. 8.4 ldap_servers/ldap_servers.install \ldap_servers_update_8302()

Removes HTTPS checking.

File

ldap_servers/ldap_servers.install, line 70
Install, update and uninstall functions for the LDAP API module.

Code

function ldap_servers_update_8302() {
  $config_factory = \Drupal::configFactory();
  $config = $config_factory
    ->getEditable('ldap_servers.settings');
  $config
    ->delete();
  return t('HTTPS validation was removed, if you need mixed mode consider another module such as securelogin for this. Mixed mode is strongly discouraged.');
}