[Patch] Fixes for IdentityProvider and LDAP
|Posted: Sun, 2012-04-08 14:44|
after some hours trying to figure out a way to make Gallery3 and module LDAP work with the given LDAP server, I came up with the two patches attached:
* check for $new_provider::admin_user() before sending the event
* changed ldap_installer::install() to activate() so that ldap can be
The changes regarding renaming install() to activate() could be superfluous with the other fixes since there should not go anything wrong during install and uninstall. However, they do no harm and are really practical if something does go wrong.
Hope you can make some use of those (I diffed against current git checkouts).