Skip to content

Commit 3d34bc8

Browse files
committed
Remove changes to Changelog
1 parent 10df2ce commit 3d34bc8

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

lib/internal/Magento/Framework/Mview/View/Changelog.php

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,14 @@ public function clear($versionId)
127127
}
128128

129129
/**
130+
* Retrieve entity ids by range [$fromVersionId..$toVersionId]
131+
*
130132
* @param int $fromVersionId
131133
* @param int $toVersionId
132-
* @return \Magento\Framework\DB\Select
134+
* @return int[]
133135
* @throws ChangelogTableNotExistsException
134136
*/
135-
private function getListSelect($fromVersionId, $toVersionId)
137+
public function getList($fromVersionId, $toVersionId)
136138
{
137139
$changelogTableName = $this->resource->getTableName($this->getName());
138140
if (!$this->connection->isTableExists($changelogTableName)) {
@@ -152,20 +154,6 @@ private function getListSelect($fromVersionId, $toVersionId)
152154
(int)$toVersionId
153155
);
154156

155-
return $select;
156-
}
157-
158-
/**
159-
* Retrieve entity ids by range [$fromVersionId..$toVersionId]
160-
*
161-
* @param int $fromVersionId
162-
* @param int $toVersionId
163-
* @return int[]
164-
* @throws ChangelogTableNotExistsException
165-
*/
166-
public function getList($fromVersionId, $toVersionId)
167-
{
168-
$select = $this->getListSelect($fromVersionId, $toVersionId);
169157
return $this->connection->fetchCol($select);
170158
}
171159

0 commit comments

Comments
 (0)