From 5745af9c0173385197f3f908a8f66d6a52ed27c3 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Fri, 23 Oct 2009 20:24:47 +0000
Subject: [PATCH] Simplify messages.

---
 plugins/FeedsDataProcessor.inc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/plugins/FeedsDataProcessor.inc b/plugins/FeedsDataProcessor.inc
index 393dd951..24bc46f6 100644
--- a/plugins/FeedsDataProcessor.inc
+++ b/plugins/FeedsDataProcessor.inc
@@ -42,13 +42,13 @@ class FeedsDataProcessor extends FeedsProcessor {
 
     // Set messages.
     if ($inserted) {
-      drupal_set_message(t('Created !number records in !table.', array('!number' => $inserted, '!table' => $this->tableName())));
+      drupal_set_message(t('Created !number items.', array('!number' => $inserted)));
     }
     elseif ($updated) {
-      drupal_set_message(t('Updated !number records in !table.', array('!number' => $updated, '!table' => $this->tableName())));
+      drupal_set_message(t('Updated !number items.', array('!number' => $updated)));
     }
     else {
-      drupal_set_message(t('There are no new records.'));
+      drupal_set_message(t('There are no new items.'));
     }
   }
 
@@ -62,7 +62,7 @@ class FeedsDataProcessor extends FeedsProcessor {
       'feed_nid' => $source->feed_nid,
     );
     $num = $this->handler()->delete($clause);
-    drupal_set_message(t('Deleted !number records from !table.', array('!number' => $num, '!table' => $this->tableName())));
+    drupal_set_message(t('Deleted !number items.', array('!number' => $num)));
   }
 
   /**
-- 
GitLab