Continued a bit:

- converted some else if to elseif (only PHP)
- converted some space -> tab (intending)

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder
2017-01-27 11:58:40 +01:00
committed by Roland Haeder
parent c2d8738285
commit d9c22c7f3e
6 changed files with 42 additions and 30 deletions

View File

@@ -32,7 +32,7 @@ function pubsubhubbub_init(App $a) {
// check for valid hub_mode
if ($hub_mode === 'subscribe') {
$subscribe = 1;
} else if ($hub_mode === 'unsubscribe') {
} elseif ($hub_mode === 'unsubscribe') {
$subscribe = 0;
} else {
logger("pubsubhubbub: invalid hub_mode=$hub_mode, ignoring.");