don't show recurring msg when pages result was turned off
and only as debug level otherwise. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
0b8a9fcaea
commit
82fd09c294
|
@ -1095,8 +1095,11 @@ class Access extends LDAPUtility implements IUserTools {
|
||||||
$this->pagedSearchedSuccessful = true;
|
$this->pagedSearchedSuccessful = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(!is_null($limit)) {
|
if(!is_null($limit) && intval($this->connection->ldapPagingSize) !== 0) {
|
||||||
\OCP\Util::writeLog('user_ldap', 'Paged search was not available', \OCP\Util::INFO);
|
\OC::$server->getLogger()->debug(
|
||||||
|
'Paged search was not available',
|
||||||
|
[ 'app' => 'user_ldap' ]
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* ++ Fixing RHDS searches with pages with zero results ++
|
/* ++ Fixing RHDS searches with pages with zero results ++
|
||||||
|
|
|
@ -50,7 +50,7 @@ use OC\ServerNotAvailableException;
|
||||||
* @property boolean turnOnPasswordChange
|
* @property boolean turnOnPasswordChange
|
||||||
* @property boolean hasPagedResultSupport
|
* @property boolean hasPagedResultSupport
|
||||||
* @property string[] ldapBaseUsers
|
* @property string[] ldapBaseUsers
|
||||||
* @property int|string ldapPagingSize holds an integer
|
* @property int|null ldapPagingSize holds an integer
|
||||||
* @property bool|mixed|void ldapGroupMemberAssocAttr
|
* @property bool|mixed|void ldapGroupMemberAssocAttr
|
||||||
* @property string ldapUuidUserAttribute
|
* @property string ldapUuidUserAttribute
|
||||||
* @property string ldapUuidGroupAttribute
|
* @property string ldapUuidGroupAttribute
|
||||||
|
|
Loading…
Reference in New Issue