summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-02-13 18:42:00 +0100
committerSarven Capadisli <csarven@status.net>2010-02-13 18:42:00 +0100
commitf6e766d5acd4d9ca8e9bea30f1c00762ac193bd4 (patch)
tree98a2218f21d7dfffa403514e62f80b1611fb28d1 /plugins/OStatus/OStatusPlugin.php
parentfc19179bc54de1837bbc64f052a93628be9c6a3d (diff)
Using the new remote subscription event and updated subscribe label
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r--plugins/OStatus/OStatusPlugin.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index bf7dde296..0e05a75cd 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -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;
}
/**