public function deleteServer($name)
    {
        if (isset($this->config['servers']) && isset($this->config['servers'][$name])) {
            unset($this->config['servers'][$name]);
            $this->ldapUserRepo->deleteUsersByServerName($name);

            return $this->saveConfig();
        }
    }