Skip to content

Commit

Permalink
fix(ldapselect): drop support for PHP 7.3 as GLPI supports 7.4 and later
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Nov 26, 2021
1 parent c98e343 commit 52e6cad
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions inc/field/ldapselectfield.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,6 @@ public function getAvailableValues() {
$tab_values[$id] = $attr[$attribute[0]][0];
$id++;
}

if (AuthLDAP::isLdapPageSizeAvailable($config_ldap) && version_compare(PHP_VERSION, '7.3') < 0) {
// phpcs:ignore Generic.PHP.DeprecatedFunctions
ldap_control_paged_result_response($ds, $result, $cookie);
}
} while ($cookie !== null && $cookie != '');

asort($tab_values);
Expand Down

0 comments on commit 52e6cad

Please sign in to comment.