From 512d047f02b601dcf21f8c807117ea154967e58f Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 16 Dec 2018 17:02:03 +0100 Subject: Update naming to WebSub (#2184) Instead of PubSubHubbub / PuSH --- p/api/pshb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p/api/pshb.php') 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"); -- cgit v1.2.3