diff --git a/includes/FeedsBatch.inc b/includes/FeedsBatch.inc index adffa5c8499bf5308d07f7e8dd82544431c19281..c9414bf190e009bc30142530b9cbf6386c11d034 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); } /**