- Patch #293614 by mustafau: aggregator files two similar error messages for not parseable feeds.

merge-requests/26/head
Dries Buytaert 2008-08-11 07:01:52 +00:00
parent d81a8c14a8
commit a993136f8e
1 changed files with 1 additions and 3 deletions

View File

@ -635,10 +635,8 @@ function aggregator_refresh($feed) {
watchdog('aggregator', 'There is new syndicated content from %site.', array('%site' => $feed['title']));
drupal_set_message(t('There is new syndicated content from %site.', array('%site' => $feed['title'])));
break;
}
$result->error = t('feed not parseable');
// Do not break here..
break;
default:
watchdog('aggregator', 'The feed from %site seems to be broken, due to "%error".', array('%site' => $feed['title'], '%error' => $result->code . ' ' . $result->error), WATCHDOG_WARNING);
drupal_set_message(t('The feed from %site seems to be broken, because of error "%error".', array('%site' => $feed['title'], '%error' => $result->code . ' ' . $result->error)));