From b6b5fb4bd1f98c3645115ba29c82a5938f1d5bf1 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Mon, 21 Dec 2009 00:14:14 +0000
Subject: [PATCH] Rename to more accurate .

---
 feeds.module | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/feeds.module b/feeds.module
index 52fddb96..3ddcfecf 100644
--- a/feeds.module
+++ b/feeds.module
@@ -248,16 +248,16 @@ function feeds_nodeapi(&$node, $op, $form) {
           try {
             $source->addConfig($node->feeds);
             // @todo Too many indirections. Clean up.
-            $feed = $source->importer->fetcher->fetch($source);
-            $source->importer->parser->parse($feed, $source);
-            if (!$feed->getTitle()) {
+            $batch = $source->importer->fetcher->fetch($source);
+            $source->importer->parser->parse($batch, $source);
+            if (!$batch->getTitle()) {
               form_set_error('title', t('Could not retrieve title from feed.'), 'error');
             }
             else {
               // Keep the title in a static cache and populate $node->title on
               // 'presave' as node module looses any changes to $node after
               // 'validate'.
-              $last_title = $feed->getTitle();
+              $last_title = $batch->getTitle();
             }
           }
           catch (Exception $e) {
-- 
GitLab