mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
Update false evaluations
=== false and !== false to is_null where appropriate.
This commit is contained in:
parent
09d798ba77
commit
cadfef63c4
7 changed files with 13 additions and 9 deletions
|
@ -92,7 +92,7 @@ Class OnePoll
|
|||
|
||||
if ($contact['subhub']) {
|
||||
$poll_interval = Config::get('system', 'pushpoll_frequency');
|
||||
$contact['priority'] = (($poll_interval !== false) ? intval($poll_interval) : 3);
|
||||
$contact['priority'] = ((!is_null($poll_interval)) ? intval($poll_interval) : 3);
|
||||
$hub_update = false;
|
||||
|
||||
if (datetime_convert('UTC', 'UTC', 'now') > datetime_convert('UTC', 'UTC', $t . " + 1 day")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue