]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/BlogspamNet/BlogspamNetPlugin.php
Possibly replace weirdly capitalized htTPs: too
[quix0rs-gnu-social.git] / plugins / BlogspamNet / BlogspamNetPlugin.php
index edb9406d9ad82082889136d04492f2df848436d3..30e9cffe16034383b090f9c01e156a41226d3c6d 100644 (file)
@@ -143,17 +143,17 @@ class BlogspamNetPlugin extends Plugin
         return '127.0.0.1';
     }
 
-    function userAgent()
+    function version()
     {
-        return 'BlogspamNetPlugin/'.BLOGSPAMNETPLUGIN_VERSION . ' StatusNet/' . STATUSNET_VERSION;
+        return BLOGSPAMNETPLUGIN_VERSION;
     }
 
-    function onPluginVersion(&$versions)
+    function onPluginVersion(array &$versions)
     {
         $versions[] = array('name' => 'BlogspamNet',
                             'version' => BLOGSPAMNETPLUGIN_VERSION,
                             'author' => 'Evan Prodromou, Brion Vibber',
-                            'homepage' => 'http://status.net/wiki/Plugin:BlogspamNet',
+                            'homepage' => 'https://git.gnu.io/gnu/gnu-social/tree/master/plugins/BlogspamNet',
                             'rawdescription' =>
                             // TRANS: Plugin description.
                             _m('Plugin to check submitted notices with blogspam.net.'));