From 53ad1b5110e22bdbb57960aec7d29b824dda7b5b Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 21 Aug 2016 18:00:24 +0200 Subject: fix codacy unused code --- includes/sys_menu.php | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'includes/sys_menu.php') diff --git a/includes/sys_menu.php b/includes/sys_menu.php index cf5b76fc..96522fa7 100644 --- a/includes/sys_menu.php +++ b/includes/sys_menu.php @@ -139,19 +139,6 @@ function make_navigation() { return toolbar($menu); } -function make_navigation_for($name, $pages) { - global $privileges, $p; - - $menu = ""; - foreach ($pages as $page) - if (in_array($page, $privileges)) - $menu .= '' . $title . ''; - - if ($menu != "") - $menu = ''; - return $menu; -} - function make_menu() { return make_navigation(); } -- cgit v1.2.3-54-g00ecf