MantisBT: master-2.23 461faac7

Author Committer Branch Timestamp Parent
dregad dregad master-2.23 2020-01-23 06:01 master-2.23 806486d3
Changeset

Move caching to ldap_get_field_from_username()

Having the logic to cache LDAP data in ldap_email_from_username() and
ldap_realname_from_username() introduced code duplication.

Since both functions rely on ldap_get_field_from_username() to retrieve
data from LDAP, it makes more sense to process the cache there.

mod - core/ldap_api.php Diff File