File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed
app/code/Magento/Cms/Model/ResourceModel/Block/Grid Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -84,40 +84,6 @@ public function setAggregations($aggregations)
84
84
$ this ->aggregations = $ aggregations ;
85
85
}
86
86
87
- /**
88
- * Retrieve all ids for collection
89
- * Backward compatibility with EAV collection
90
- *
91
- * @param int $limit
92
- * @param int $offset
93
- * @return array
94
- * @throws \Magento\Framework\Exception\LocalizedException
95
- */
96
- public function getAllIds ($ limit = null , $ offset = null )
97
- {
98
- return $ this ->getConnection ()->fetchCol ($ this ->_getAllIdsSelect ($ limit , $ offset ), $ this ->_bindParams );
99
- }
100
-
101
- /**
102
- * Create all ids retrieving select with limitation
103
- *
104
- * @param int $limit
105
- * @param int $offset
106
- * @return \Magento\Framework\DB\Select
107
- * @throws \Magento\Framework\Exception\LocalizedException
108
- */
109
- protected function _getAllIdsSelect ($ limit = null , $ offset = null )
110
- {
111
- $ idsSelect = clone $ this ->getSelect ();
112
- $ idsSelect ->reset (\Magento \Framework \DB \Select::ORDER );
113
- $ idsSelect ->reset (\Magento \Framework \DB \Select::LIMIT_COUNT );
114
- $ idsSelect ->reset (\Magento \Framework \DB \Select::LIMIT_OFFSET );
115
- $ idsSelect ->reset (\Magento \Framework \DB \Select::COLUMNS );
116
- $ idsSelect ->columns ($ this ->getResource ()->getIdFieldName (), 'main_table ' );
117
- $ idsSelect ->limit ($ limit , $ offset );
118
- return $ idsSelect ;
119
- }
120
-
121
87
/**
122
88
* Get search criteria.
123
89
*
You can’t perform that action at this time.
0 commit comments