]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using the new remote subscription event and updated subscribe label
authorSarven Capadisli <csarven@status.net>
Sat, 13 Feb 2010 17:42:00 +0000 (18:42 +0100)
committerSarven Capadisli <csarven@status.net>
Sat, 13 Feb 2010 17:42:00 +0000 (18:42 +0100)
plugins/OStatus/OStatusPlugin.php

index bf7dde2967c8c51d70f6007d896badf1161a8d85..0e05a75cdb3e5968d9ab0c896fddefdfd0ae00d8 100644 (file)
@@ -188,7 +188,7 @@ class OStatusPlugin extends Plugin
     /**
      * Add in an OStatus subscribe button
      */
-    function onStartProfilePageActionsElements($output, $profile)
+    function onStartProfileRemoteSubscribe($output, $profile)
     {
         $cur = common_current_user();
 
@@ -199,10 +199,12 @@ class OStatusPlugin extends Plugin
                                     array('nickname' => $profile->nickname));
             $output->element('a', array('href' => $url,
                                         'class' => 'entity_remote_subscribe'),
-                                _m('OStatus'));
+                                _m('Subscribe'));
 
             $output->elementEnd('li');
         }
+
+        return false;
     }
 
     /**