From 9b9bb8d99c037768759c7d06e49e80449d016db4 Mon Sep 17 00:00:00 2001 From: Alex Barth <alex_b@53995.no-reply.drupal.org> Date: Wed, 8 Sep 2010 20:50:51 +0000 Subject: [PATCH] #905820 tristan.oneil: Adjust delete message in FeedsDataProcessor to avoid misleading total numbers. --- CHANGELOG.txt | 2 ++ plugins/FeedsDataProcessor.inc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 747391e5..4dca0b75 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3,6 +3,8 @@ Feeds 6.x 1.0 XXXXXXXXXXXXXXXXXX -------------------------------- +- #905820 tristan.oneil: Adjust delete message in FeedsDataProcessor to avoid + misleading total numbers. - #671538 mburak: Use CURLOPT_TIMEOUT to limit download time of feeds. - #878002 Will White, David Goode: Support multiple sources per mapping target in FeedsDataProcessor. diff --git a/plugins/FeedsDataProcessor.inc b/plugins/FeedsDataProcessor.inc index 490c7527..a7a0fafe 100644 --- a/plugins/FeedsDataProcessor.inc +++ b/plugins/FeedsDataProcessor.inc @@ -72,7 +72,7 @@ class FeedsDataProcessor extends FeedsProcessor { 'feed_nid' => $source->feed_nid, ); $num = $this->handler()->delete($clause); - drupal_set_message(format_plural($num, 'Deleted @number item.', 'Deleted @number items.', array('@number' => $num))); + drupal_set_message('All items of this feed have been deleted.'); } /** -- GitLab