Skip to content

Commit f6effc7

Browse files
author
Phil E. Taylor
committed
remove method allow parent to run
1 parent d7cc4b5 commit f6effc7

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

components/com_content/src/Model/ArchiveModel.php

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -157,33 +157,6 @@ public function getData()
157157
return $this->_data;
158158
}
159159

160-
/**
161-
* Model override to add alternating value for $odd
162-
*
163-
* @param string $query The query.
164-
* @param integer $limitstart Offset.
165-
* @param integer $limit The number of records.
166-
*
167-
* @return array An array of results.
168-
*
169-
* @since 3.0.1
170-
* @throws \RuntimeException
171-
*/
172-
protected function _getList($query, $limitstart=0, $limit=0)
173-
{
174-
$result = parent::_getList($query, $limitstart, $limit);
175-
176-
$odd = 1;
177-
178-
foreach ($result as $k => $row)
179-
{
180-
$result[$k]->odd = $odd;
181-
$odd = 1 - $odd;
182-
}
183-
184-
return $result;
185-
}
186-
187160
/**
188161
* Gets the archived articles years
189162
*

0 commit comments

Comments
 (0)