From 81f5672393338928306a9d59abe6c79680217732 Mon Sep 17 00:00:00 2001
From: blizzz <blizzz@owncloud.com>
Date: Tue, 28 Jul 2015 11:41:21 +0200
Subject: [PATCH] Remove Log info when no group filter is set, fixes #17921

The log message is superfluous and too noisy. If an admin decides not to use groups, he does not need to be reminded about it on almost every request.
---
 apps/user_ldap/lib/connection.php | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/apps/user_ldap/lib/connection.php b/apps/user_ldap/lib/connection.php
index 2bb2e1f8cb..6a216f65c5 100644
--- a/apps/user_ldap/lib/connection.php
+++ b/apps/user_ldap/lib/connection.php
@@ -342,12 +342,6 @@ class Connection extends LDAPUtility {
 		}
 
 		$groupFilter = $this->configuration->ldapGroupFilter;
-		if(empty($groupFilter)) {
-			\OCP\Util::writeLog('user_ldap',
-								'No group filter is specified, LDAP group '.
-								'feature will not be used.',
-								\OCP\Util::INFO);
-		}
 
 		foreach(array('ldapExpertUUIDUserAttr'  => 'ldapUuidUserAttribute',
 					  'ldapExpertUUIDGroupAttr' => 'ldapUuidGroupAttribute')
-- 
GitLab