diff options
author | Craig Andrews <candrews@integralblue.com> | 2010-01-09 18:58:40 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2010-01-09 19:04:53 -0500 |
commit | c758b1b1d40d5534e0fc63818bc7d9cf8350de96 (patch) | |
tree | e28a03c80d0d1be029f9a6563fb36be476953e4e /plugins/LdapAuthentication/LdapAuthenticationPlugin.php | |
parent | 954335fa5e18b003e20cd43e71fb690181095101 (diff) |
Add version information to a bunch of plugins
Diffstat (limited to 'plugins/LdapAuthentication/LdapAuthenticationPlugin.php')
-rw-r--r-- | plugins/LdapAuthentication/LdapAuthenticationPlugin.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php index c14fa21a9..eb3a05117 100644 --- a/plugins/LdapAuthentication/LdapAuthenticationPlugin.php +++ b/plugins/LdapAuthentication/LdapAuthenticationPlugin.php @@ -346,4 +346,15 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin return $str; } + + function onPluginVersion(&$versions) + { + $versions[] = array('name' => 'LDAP Authentication', + 'version' => STATUSNET_VERSION, + 'author' => 'Craig Andrews', + 'homepage' => 'http://status.net/wiki/Plugin:LdapAuthentication', + 'rawdescription' => + _m('The LDAP Authentication plugin allows for StatusNet to handle authentication through LDAP.')); + return true; + } } |