Pagination includes numerous escape hatches because of the deprecation and removal of ldap_control_paged_result() and ldap_control_paged_result_response. Moving to a Moodle 3.11 and higher release allows dropping support for PHP 7.2 and earlier and that stuff can come out. The pending fix in #34 breaks PHP 7.1-7.2 anyway.
Pagination includes numerous escape hatches because of the deprecation and removal of
ldap_control_paged_result()
andldap_control_paged_result_response
. Moving to a Moodle 3.11 and higher release allows dropping support for PHP 7.2 and earlier and that stuff can come out. The pending fix in #34 breaks PHP 7.1-7.2 anyway.