diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-18 18:20:48 +0000 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-18 18:20:48 +0000 |
commit | 22ff358ba8d1fd0396136e1de570d788dd0727b6 (patch) | |
tree | e53d46a094dea1c653ad7e2cb6576ac8ec17c86e /plugins/OStatus/actions/pushcallback.php | |
parent | c2ba7645359242590c8ac60b66f012110ae889ef (diff) |
OStatus sub/unsub updates:
- fix for PuSH unsub verification
- send Salmon notification on unsub
Diffstat (limited to 'plugins/OStatus/actions/pushcallback.php')
-rw-r--r-- | plugins/OStatus/actions/pushcallback.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/actions/pushcallback.php b/plugins/OStatus/actions/pushcallback.php index 388c8f9c3..ed859a32f 100644 --- a/plugins/OStatus/actions/pushcallback.php +++ b/plugins/OStatus/actions/pushcallback.php @@ -89,7 +89,7 @@ class PushCallbackAction extends Action if ($profile->verify_token !== $verify_token) { common_log(LOG_WARNING, __METHOD__ . ": bogus hub callback with bad token \"$verify_token\" for feed $topic"); - throw new ServerError("Bogus hub callback: bad token", 404); + throw new ServerException("Bogus hub callback: bad token", 404); } if ($mode != $profile->sub_state) { |