File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed
components/com_content/src/Model Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff 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 *
You can’t perform that action at this time.
0 commit comments