From 63010875fdb122dc1361f6fa5585de9045c7dea6 Mon Sep 17 00:00:00 2001
From: Alex Barth <alex_b@53995.no-reply.drupal.org>
Date: Sun, 16 May 2010 20:25:45 +0000
Subject: [PATCH] Adjustment per #760140-9.

---
 includes/FeedsBatch.inc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/includes/FeedsBatch.inc b/includes/FeedsBatch.inc
index adffa5c8..c9414bf1 100644
--- a/includes/FeedsBatch.inc
+++ b/includes/FeedsBatch.inc
@@ -133,9 +133,7 @@ class FeedsImportBatch extends FeedsBatch {
    *   removed from the internal array.
    */
   public function shiftItem() {
-    $item = array_shift($this->items);
-    $this->total = count($this->items);
-    return $item;
+    return array_shift($this->items);
   }
 
   /**
-- 
GitLab