From 4b11afe7d54645f6933c6aaa8e7dafef5315d4a1 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 11 Jul 2017 17:08:16 +0200 Subject: [PATCH] Remove unused method LdapUserBackend::setConfig() --- .../Authentication/User/LdapUserBackend.php | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/library/Icinga/Authentication/User/LdapUserBackend.php b/library/Icinga/Authentication/User/LdapUserBackend.php index e9c98a42f..34a6a223b 100644 --- a/library/Icinga/Authentication/User/LdapUserBackend.php +++ b/library/Icinga/Authentication/User/LdapUserBackend.php @@ -204,23 +204,6 @@ class LdapUserBackend extends LdapRepository implements UserBackendInterface, Do return $this; } - /** - * Apply the given configuration to this backend - * - * @param ConfigObject $config - * - * @return $this - */ - public function setConfig(ConfigObject $config) - { - return $this - ->setBaseDn($config->base_dn) - ->setUserClass($config->user_class) - ->setUserNameAttribute($config->user_name_attribute) - ->setFilter($config->filter) - ->setDomain($config->domain); - } - /** * Initialize this repository's virtual tables *