mirror of
https://github.com/friendica/friendica
synced 2025-05-03 01:04:28 +02:00
variable confusion in poller, don't allow negative page offsets
This commit is contained in:
parent
3b9c3d886d
commit
09f74be14c
3 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue