aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2018-12-16 17:02:03 +0100
committerGravatar GitHub <noreply@github.com> 2018-12-16 17:02:03 +0100
commit512d047f02b601dcf21f8c807117ea154967e58f (patch)
treec0825b4d1fc0c9e68efa0424de57476329a7d071 /p/api/pshb.php
parente0e96d6a13788c539be1bcce3cde0a1d614ff2c3 (diff)
Update naming to WebSub (#2184)
Instead of PubSubHubbub / PuSH
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index ac78bfd74..b6f03593d 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -79,7 +79,7 @@ if (!empty($_REQUEST['hub_mode']) && $_REQUEST['hub_mode'] === 'subscribe') {
}
$hubJson['lease_start'] = time();
if (!isset($hubJson['error'])) {
- $hubJson['error'] = true; //Do not assume that PubSubHubbub works until the first successul push
+ $hubJson['error'] = true; //Do not assume that WebSub works until the first successul push
}
file_put_contents('./!hub.json', json_encode($hubJson));
header('Connection: close');
@@ -162,5 +162,5 @@ if ($nb === 0) {
file_put_contents('./!hub.json', json_encode($hubJson));
}
-Minz_Log::notice('PubSubHubbub ' . $self . ' done: ' . $nb, PSHB_LOG);
+Minz_Log::notice('WebSub ' . $self . ' done: ' . $nb, PSHB_LOG);
exit('Done: ' . $nb . "\n");