no comment box if no notify, not no poll
This commit is contained in:
parent
bb5ad77e2a
commit
696eff1031
1 changed files with 2 additions and 2 deletions
|
@ -1167,7 +1167,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
|
||||||
);
|
);
|
||||||
$datarray['last-child'] = 1;
|
$datarray['last-child'] = 1;
|
||||||
}
|
}
|
||||||
if(($contact['network'] === 'feed') || (! strlen($contact['poll']))) {
|
if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) {
|
||||||
// one way feed - no remote comment ability
|
// one way feed - no remote comment ability
|
||||||
$datarray['last-child'] = 0;
|
$datarray['last-child'] = 0;
|
||||||
}
|
}
|
||||||
|
@ -1223,7 +1223,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
|
||||||
$datarray['last-child'] = 1;
|
$datarray['last-child'] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(($contact['network'] === 'feed') || (! strlen($contact['poll']))) {
|
if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) {
|
||||||
// one way feed - no remote comment ability
|
// one way feed - no remote comment ability
|
||||||
$datarray['last-child'] = 0;
|
$datarray['last-child'] = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue