From 55eec8f66f909fd105074142d99e22e02b489991 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Sun, 20 Aug 2006 05:57:41 +0000 Subject: #79601: module_exist() -> module_exists() --- includes/menu.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/menu.inc') diff --git a/includes/menu.inc b/includes/menu.inc index f21eb94d1..e56698176 100644 --- a/includes/menu.inc +++ b/includes/menu.inc @@ -591,7 +591,7 @@ function menu_rebuild() { _menu_build(); - if (module_exist('menu')) { + if (module_exists('menu')) { $menu = menu_get_menu(); // Fill a queue of new menu items which are modifiable. @@ -828,7 +828,7 @@ function theme_menu_local_task($mid, $active, $primary) { * -active is appended if this element is in the active trail. */ function menu_primary_links($start_level = 1, $pid = 0) { - if (!module_exist('menu')) { + if (!module_exists('menu')) { return NULL; } if (!$pid) { @@ -1081,7 +1081,7 @@ function _menu_build() { } // Now fetch items from the DB, reassigning menu IDs as needed. - if (module_exist('menu')) { + if (module_exists('menu')) { $result = db_query(db_rewrite_sql('SELECT m.mid, m.* FROM {menu} m ORDER BY m.mid ASC', 'm', 'mid')); while ($item = db_fetch_object($result)) { // Handle URL aliases if entered in menu administration. -- cgit v1.2.3