File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed
lib/internal/Magento/Framework/Mview/View Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -127,12 +127,14 @@ public function clear($versionId)
127
127
}
128
128
129
129
/**
130
+ * Retrieve entity ids by range [$fromVersionId..$toVersionId]
131
+ *
130
132
* @param int $fromVersionId
131
133
* @param int $toVersionId
132
- * @return \Magento\Framework\DB\Select
134
+ * @return int[]
133
135
* @throws ChangelogTableNotExistsException
134
136
*/
135
- private function getListSelect ($ fromVersionId , $ toVersionId )
137
+ public function getList ($ fromVersionId , $ toVersionId )
136
138
{
137
139
$ changelogTableName = $ this ->resource ->getTableName ($ this ->getName ());
138
140
if (!$ this ->connection ->isTableExists ($ changelogTableName )) {
@@ -152,20 +154,6 @@ private function getListSelect($fromVersionId, $toVersionId)
152
154
(int )$ toVersionId
153
155
);
154
156
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 );
169
157
return $ this ->connection ->fetchCol ($ select );
170
158
}
171
159
You can’t perform that action at this time.
0 commit comments