X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fpoller.php;h=fefc9b381d4a6c18d74cdb20eff26b57aaa42a38;hb=f9a40ccbdea69fc7ffcbdc87356d535c67371210;hp=6b12445d195004f53d54bbc9143bf1f6dff49bb9;hpb=f2e648d62fe7cafb9a55c7505687ea4d1c294778;p=friendica.git diff --git a/include/poller.php b/include/poller.php index 6b12445d19..fefc9b381d 100644 --- a/include/poller.php +++ b/include/poller.php @@ -201,8 +201,8 @@ function poller_run($argv, $argc){ if($contact['subhub']) { - $interval = get_config('system','pushpoll_frequency'); - $contact['priority'] = (($interval !== false) ? intval($interval) : 3); + $poll_interval = get_config('system','pushpoll_frequency'); + $contact['priority'] = (($poll_interval !== false) ? intval($poll_interval) : 3); $hub_update = false; if((datetime_convert('UTC','UTC', 'now') > datetime_convert('UTC','UTC', $t . " + 1 day")) || $force)