Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
the method LdapUserConf::deleteProvisionedLdapEntries()
checks the users language and then tries to access his saved provisionEntries via $account->ldap_user_prov_entries[$language]
.
This fails here, as the users language is 'de' while all provisioned entries are under $account->ldap_user_prov_entries[LANGUAGE_NONE]
.
Furthermore, I guess after the entries were deleted, the $account object should be cleaned up, shouldn't it?
Comments
Comment #1
grahlThanks for the useful bug report! All other instance of that field use LANGUAGE_NONE so it's clearly safe.
The account object does not need to be cleaned up since the function is called from within hook_user_delete().