diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-08-20 05:57:41 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-08-20 05:57:41 +0000 |
commit | 55eec8f66f909fd105074142d99e22e02b489991 (patch) | |
tree | 246f2e41d47fd55b83dfcb690919e65e17e62e96 /includes/menu.inc | |
parent | e14c3aa6c0707c18005146f5311f0db0d5a1af3f (diff) | |
download | brdo-55eec8f66f909fd105074142d99e22e02b489991.tar.gz brdo-55eec8f66f909fd105074142d99e22e02b489991.tar.bz2 |
#79601: module_exist() -> module_exists()
Diffstat (limited to 'includes/menu.inc')
-rw-r--r-- | includes/menu.inc | 6 |
1 files changed, 3 insertions, 3 deletions
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. |