The poller now always respects the priority setting for feeds.
This commit is contained in:
parent
4c901e60cc
commit
68c9707221
1 changed files with 1 additions and 3 deletions
|
@ -230,8 +230,6 @@ function poller_run(&$argv, &$argc){
|
||||||
|
|
||||||
foreach($res as $contact) {
|
foreach($res as $contact) {
|
||||||
|
|
||||||
logger("Check for polling ".$contact["uid"]." ".$contact["id"]." ".$contact["network"]." ".$contact["nick"]);
|
|
||||||
|
|
||||||
$xml = false;
|
$xml = false;
|
||||||
|
|
||||||
if($manual_id)
|
if($manual_id)
|
||||||
|
@ -243,7 +241,7 @@ function poller_run(&$argv, &$argc){
|
||||||
if(!get_config('system','ostatus_use_priority') and ($contact['network'] === NETWORK_OSTATUS))
|
if(!get_config('system','ostatus_use_priority') and ($contact['network'] === NETWORK_OSTATUS))
|
||||||
$contact['priority'] = 2;
|
$contact['priority'] = 2;
|
||||||
|
|
||||||
if($contact['priority'] || $contact['subhub']) {
|
if(($contact['priority'] || $contact['subhub']) AND ($contact['network'] != NETWORK_FEED)) {
|
||||||
|
|
||||||
$hub_update = true;
|
$hub_update = true;
|
||||||
$update = false;
|
$update = false;
|
||||||
|
|
Loading…
Reference in a new issue