summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-21 13:32:24 -0500
committerEvan Prodromou <evan@status.net>2010-02-21 13:32:24 -0500
commitde093537f6c7f3b83817146247fbd9edbed16935 (patch)
tree88d8386b447268b3d2528dabb7ed1610ec1a18db /plugins/OStatus/OStatusPlugin.php
parent068d8f92200e6fcef31db2fdca956a745422a1ac (diff)
correct actor for OStatusPlugin::onEndUnsubscribe()
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r--plugins/OStatus/OStatusPlugin.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index b5cfb5cae..b966661db 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -294,7 +294,7 @@ class OStatusPlugin extends Plugin
$profile->getBestName(),
$other->getBestName());
- $act->actor = ActivityObject::fromProfile($subscriber);
+ $act->actor = ActivityObject::fromProfile($profile);
$act->object = ActivityObject::fromProfile($other);
$oprofile->notifyActivity($act);
@@ -447,8 +447,9 @@ class OStatusPlugin extends Plugin
/**
* Notify remote users when their notices get de-favorited.
*
- * @param Profile or User $profile of local user doing the de-faving
- * @param Notice $notice being favored
+ * @param Profile $profile Profile person doing the de-faving
+ * @param Notice $notice Notice being favored
+ *
* @return hook return value
*/