From 3d34bc85aacd57275c5dccc67d9f4a99bfac0374 Mon Sep 17 00:00:00 2001
From: Luke Rodgers <lukerodgers90@gmail.com>
Date: Mon, 4 Dec 2017 19:11:34 +0000
Subject: [PATCH] Remove changes to Changelog

---
 .../Framework/Mview/View/Changelog.php        | 20 ++++---------------
 1 file changed, 4 insertions(+), 16 deletions(-)

diff --git a/lib/internal/Magento/Framework/Mview/View/Changelog.php b/lib/internal/Magento/Framework/Mview/View/Changelog.php
index 3b0b1bedeec..91caf662283 100644
--- a/lib/internal/Magento/Framework/Mview/View/Changelog.php
+++ b/lib/internal/Magento/Framework/Mview/View/Changelog.php
@@ -127,12 +127,14 @@ class Changelog implements ChangelogInterface
     }
 
     /**
+     * Retrieve entity ids by range [$fromVersionId..$toVersionId]
+     *
      * @param int $fromVersionId
      * @param int $toVersionId
-     * @return \Magento\Framework\DB\Select
+     * @return int[]
      * @throws ChangelogTableNotExistsException
      */
-    private function getListSelect($fromVersionId, $toVersionId)
+    public function getList($fromVersionId, $toVersionId)
     {
         $changelogTableName = $this->resource->getTableName($this->getName());
         if (!$this->connection->isTableExists($changelogTableName)) {
@@ -152,20 +154,6 @@ class Changelog implements ChangelogInterface
             (int)$toVersionId
         );
 
-        return $select;
-    }
-
-    /**
-     * Retrieve entity ids by range [$fromVersionId..$toVersionId]
-     *
-     * @param int $fromVersionId
-     * @param int $toVersionId
-     * @return int[]
-     * @throws ChangelogTableNotExistsException
-     */
-    public function getList($fromVersionId, $toVersionId)
-    {
-        $select = $this->getListSelect($fromVersionId, $toVersionId);
         return $this->connection->fetchCol($select);
     }
 
-- 
GitLab