summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-20 10:20:42 -0800
committerBrion Vibber <brion@pobox.com>2010-02-20 10:26:32 -0800
commitf891b135fbbf79bee6f9753e6a9cded65f219ab7 (patch)
tree9133211720df746f5ff02ca4536a123216b14ee2 /plugins/OStatus/OStatusPlugin.php
parent97b01432e7903797e39205e46a51394feac54292 (diff)
OStatus: fix regressions in plugin & usersalmon action. Sub/unsub notifications are working again.
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r--plugins/OStatus/OStatusPlugin.php22
1 files changed, 0 insertions, 22 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index 9e6d03177..e78e658a6 100644
--- a/plugins/OStatus/OStatusPlugin.php
+++ b/plugins/OStatus/OStatusPlugin.php
@@ -357,26 +357,4 @@ class OStatusPlugin extends Plugin
return true;
}
-
- function onEndUnsubscribe($subscriber, $other)
- {
- $user = User::staticGet('id', $subscriber->id);
-
- if (empty($user)) {
- return true;
- }
-
- $oprofile = Ostatus_profile::staticGet('profile_id', $other->id);
-
- if (empty($oprofile)) {
- return true;
- }
-
- // We have a local user subscribing to a remote profile; make the
- // magic happen!
-
- $oprofile->notify($subscriber, ActivityVerb::UNFOLLOW);
-
- return true;
- }
}