Skip to content

Commit

Permalink
Remove useless button in admin controller
Browse files Browse the repository at this point in the history
  • Loading branch information
nenes25 committed Nov 7, 2023
1 parent e25cc10 commit 5f0d25a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions controllers/admin/change.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,21 +171,6 @@ public function renderForm()
return parent::renderForm();
}

/**
* Add button in Toolbar
*
* @return void
*/
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_btn['new_object'] = [
'href' => self::$currentIndex . '&addchange&token=' . $this->token,
'desc' => $this->l('Add new object'),
'icon' => 'process-icon-new',
];
parent::initPageHeaderToolbar();
}

/**
* Génération de l'update
*
Expand Down

0 comments on commit 5f0d25a

Please sign in to comment.