Change mentions of PuSH to WebSub
WebSub is probably finalised before we make a release anyway. Here is the official spec: https://www.w3.org/TR/websub/ Mostly just comments that have been changed. Some references to PuSH <0.4 are left because they actually refer to PuSH 0.3 and that's not WebSub... The only actual code change that might affect anything is FeedSub->isPuSH() but the only official plugin using that call was FeedPoller anyway...
This commit is contained in:
@@ -22,7 +22,7 @@ if (!defined('STATUSNET')) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Send a PuSH subscription verification from our internal hub.
|
||||
* Send a WebSub subscription verification from our internal hub.
|
||||
* @package Hub
|
||||
* @author Brion Vibber <brion@status.net>
|
||||
*/
|
||||
@@ -46,7 +46,7 @@ class HubConfQueueHandler extends QueueHandler
|
||||
try {
|
||||
$sub->verify($mode, $token);
|
||||
} catch (Exception $e) {
|
||||
common_log(LOG_ERR, "Failed PuSH $mode verify to $sub->callback for $sub->topic: " .
|
||||
common_log(LOG_ERR, "Failed WebSub $mode verify to $sub->callback for $sub->topic: " .
|
||||
$e->getMessage());
|
||||
// @fixme schedule retry?
|
||||
// @fixme just kill it?
|
||||
|
Reference in New Issue
Block a user