Skip to content

Commit a51393f

Browse files
committed
Remove the getAllIds as this is now on the parent collection class
1 parent af16a56 commit a51393f

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

app/code/Magento/Cms/Model/ResourceModel/Block/Grid/Collection.php

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -84,40 +84,6 @@ public function setAggregations($aggregations)
8484
$this->aggregations = $aggregations;
8585
}
8686

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-
12187
/**
12288
* Get search criteria.
12389
*

0 commit comments

Comments
 (0)