mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 09:13:19 -04:00
abandond paged search only if PHP supports them
This commit is contained in:
parent
53ec32807a
commit
2b9696efae
1 changed files with 1 additions and 1 deletions
|
|
@ -1376,7 +1376,7 @@ class Access extends LDAPUtility implements user\IUserTools {
|
|||
* resets a running Paged Search operation
|
||||
*/
|
||||
private function abandonPagedSearch() {
|
||||
if(!empty($this->lastCookie)) {
|
||||
if($this->connection->hasPagedResultSupport) {
|
||||
$cr = $this->connection->getConnectionResource();
|
||||
$this->ldap->controlPagedResult($cr, 0, false, $this->lastCookie);
|
||||
$this->getPagedSearchResultState();
|
||||
|
|
|
|||
Loading…
Reference in a new issue