mirror of
https://github.com/friendica/friendica
synced 2025-04-26 12:30:11 +00:00
more ssl_policy cleanup, allow manual feed update per contact when hub is whacked, log feed parse errors
This commit is contained in:
parent
a598f17e6d
commit
3eefe8b500
10 changed files with 42 additions and 12 deletions
|
@ -903,6 +903,10 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) {
|
|||
$feed->enable_order_by_date(false);
|
||||
$feed->init();
|
||||
|
||||
if($feed->error())
|
||||
logger('consume_feed: Error parsing XML: ' . $feed->error());
|
||||
|
||||
|
||||
// Check at the feed level for updated contact name and/or photo
|
||||
|
||||
$name_updated = '';
|
||||
|
|
|
@ -58,6 +58,9 @@ function poller_run($argv, $argc){
|
|||
|
||||
foreach($contacts as $contact) {
|
||||
|
||||
if($manual_id)
|
||||
$contact['last-update'] = '0000-00-00 00:00:00';
|
||||
|
||||
if($contact['priority'] || $contact['subhub']) {
|
||||
|
||||
$hub_update = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue