From bba77b52e7029984f656fbeff7ac30804257c13d Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 2 May 2022 15:53:24 +0200 Subject: [PATCH] LdapConnection: Remove deprecated method `connect()` --- library/Icinga/Protocol/Ldap/LdapConnection.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/library/Icinga/Protocol/Ldap/LdapConnection.php b/library/Icinga/Protocol/Ldap/LdapConnection.php index 3d7db67e4..a1d6a2edf 100644 --- a/library/Icinga/Protocol/Ldap/LdapConnection.php +++ b/library/Icinga/Protocol/Ldap/LdapConnection.php @@ -321,18 +321,6 @@ class LdapConnection implements Selectable, Inspectable return $this->encrypted; } - /** - * Establish a connection - * - * @throws LdapException In case the connection could not be established - * - * @deprecated The connection is established lazily now - */ - public function connect() - { - $this->getConnection(); - } - /** * Perform a LDAP bind on the current connection *