Skip to content

Commit

Permalink
Update menu.php
Browse files Browse the repository at this point in the history
  • Loading branch information
markjcrane authored Dec 19, 2019
1 parent b1c74b1 commit dedb6ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/menu/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,19 @@
switch ($action) {
case 'copy':
//if (permission_exists('menu_add')) {
// $obj = new menus;
// $obj = new menu;
// $obj->copy($menus);
//}
break;
case 'toggle':
//if (permission_exists('menu_edit')) {
// $obj = new menus;
// $obj = new menu;
// $obj->toggle($menus);
//}
break;
case 'delete':
if (permission_exists('menu_delete')) {
$obj = new menus;
$obj = new menu;
$obj->delete($menus);
}
break;
Expand Down

0 comments on commit dedb6ed

Please sign in to comment.