Skip to content
Snippets Groups Projects
Commit 3d34bc85 authored by Luke Rodgers's avatar Luke Rodgers
Browse files

Remove changes to Changelog

parent 10df2ced
No related merge requests found
...@@ -127,12 +127,14 @@ class Changelog implements ChangelogInterface ...@@ -127,12 +127,14 @@ class Changelog implements ChangelogInterface
} }
/** /**
* Retrieve entity ids by range [$fromVersionId..$toVersionId]
*
* @param int $fromVersionId * @param int $fromVersionId
* @param int $toVersionId * @param int $toVersionId
* @return \Magento\Framework\DB\Select * @return int[]
* @throws ChangelogTableNotExistsException * @throws ChangelogTableNotExistsException
*/ */
private function getListSelect($fromVersionId, $toVersionId) public function getList($fromVersionId, $toVersionId)
{ {
$changelogTableName = $this->resource->getTableName($this->getName()); $changelogTableName = $this->resource->getTableName($this->getName());
if (!$this->connection->isTableExists($changelogTableName)) { if (!$this->connection->isTableExists($changelogTableName)) {
...@@ -152,20 +154,6 @@ class Changelog implements ChangelogInterface ...@@ -152,20 +154,6 @@ class Changelog implements ChangelogInterface
(int)$toVersionId (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); return $this->connection->fetchCol($select);
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment