summaryrefslogtreecommitdiff
path: root/includes/menu.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/menu.inc')
-rw-r--r--includes/menu.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/includes/menu.inc b/includes/menu.inc
index 2a8c80c41..d11d3ea1f 100644
--- a/includes/menu.inc
+++ b/includes/menu.inc
@@ -1692,22 +1692,6 @@ function menu_set_custom_theme() {
}
/**
- * Build a list of named menus.
- */
-function menu_get_names() {
- $names = &drupal_static(__FUNCTION__);
-
- if (empty($names)) {
- $names = db_select('menu_links')
- ->distinct()
- ->fields('menu_links', array('menu_name'))
- ->orderBy('menu_name')
- ->execute()->fetchCol();
- }
- return $names;
-}
-
-/**
* Return an array containing the names of system-defined (default) menus.
*/
function menu_list_system_menus() {