]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/LdapAuthentication/LdapAuthenticationPlugin.php
Separate the UI paths for ostatussub and ostatusgroup. They'll redirect to each other...
[quix0rs-gnu-social.git] / plugins / LdapAuthentication / LdapAuthenticationPlugin.php
index af42be761e6dd17532a4aaa4c9ebed2c4b40b52d..eb3a05117a4c72e2440190fce1dd8f90c7ffa87d 100644 (file)
@@ -74,8 +74,6 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
          case 'MemcacheSchemaCache':
             require_once(INSTALLDIR.'/plugins/LdapAuthentication/MemcacheSchemaCache.php');
             return false;
-         default:
-            return parent::onAutoload($cls);
         }
     }
     
@@ -348,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;
+    }
 }