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:
parent
c2d8738285
commit
d9c22c7f3e
6 changed files with 42 additions and 30 deletions
|
@ -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.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue