zendframework / zend-ldap

Ldap component from Zend Framework
BSD 3-Clause "New" or "Revised" License
29 stars 29 forks source link

Remove the call to ldap_sort from Zend\Ldap\Ldap::search #3

Closed heiglandreas closed 9 years ago

heiglandreas commented 9 years ago

Currently Zend\Ldap\Ldap::search() internally calls ldap_sort which is already deprecated in the OpenLDAP-libraries and will become deprecated in PHP. As the sorting only is done client-sided and we can not be sure that there might be other data on the server that should be in between the sorting is not really meaningfull.

We should look for a way to sort the data with the "default" PHP-sorting-functions

Maks3w commented 9 years ago

PHP7 run is start to failling due this deprecation. Any volunteer for to fix this?

heiglandreas commented 9 years ago

already had a look at it so if no one else steps up I'll check it. Seems fair as I introduced the deprecated-message :wink:

Andreas Heigl Andreas@heigl.org

Am 16.07.2015 um 11:52 schrieb Maks3w notifications@github.com:

PHP7 run is start to failling due this deprecation. Any volunteer for to fix this?

— Reply to this email directly or view it on GitHub.

mwillbanks commented 9 years ago

changed milestone and closing ticket as this is committed in develop.