Skip to content

Commit

Permalink
com_contact. Rm unused order_up, order_dn
Browse files Browse the repository at this point in the history
`order_up` and `order_dn` are not used in Joomla core. Garbage from Joomla 1.6 or so.
  • Loading branch information
ReLater committed Dec 31, 2023
1 parent af3ed9a commit f1ac63e
Showing 1 changed file with 0 additions and 7 deletions.
Expand Up @@ -99,13 +99,6 @@ public function display($tpl = null)
throw new GenericDataException(implode("\n", $errors), 500);
}

// Preprocess the list of items to find ordering divisions.
// @todo: Complete the ordering stuff with nested sets
foreach ($this->items as &$item) {
$item->order_up = true;
$item->order_dn = true;
}

// We don't need toolbar in the modal window.
if ($this->getLayout() !== 'modal') {
$this->addToolbar();
Expand Down

0 comments on commit f1ac63e

Please sign in to comment.