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() --- modules/aggregator/aggregator.module | 2 +- modules/block/block.module | 4 ++-- modules/contact/contact.module | 2 +- modules/forum/forum.module | 4 ++-- modules/node/node.module | 10 +++++----- modules/system/system.module | 8 ++++---- modules/taxonomy/taxonomy.module | 2 +- modules/tracker/tracker.module | 2 +- modules/user/user.module | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) (limited to 'modules') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 095d24ace..bcd08b8ef 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -1325,7 +1325,7 @@ function theme_aggregator_feed($feed) { function theme_aggregator_block_item($item, $feed = 0) { global $user; - if ($user->uid && module_exist('blog') && user_access('edit own blog')) { + if ($user->uid && module_exists('blog') && user_access('edit own blog')) { if ($image = theme('image', 'misc/blog.png', t('blog it'), t('blog it'))) { $output .= '
'. l($image, 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it'), "iid=$item->iid", NULL, FALSE, TRUE) .'
'; } diff --git a/modules/block/block.module b/modules/block/block.module index c8b9b599d..07718dc1d 100644 --- a/modules/block/block.module +++ b/modules/block/block.module @@ -221,7 +221,7 @@ function block_admin_display($theme = NULL) { $blocks = _block_rehash(); usort($blocks, '_block_compare'); - $throttle = module_exist('throttle'); + $throttle = module_exists('throttle'); $block_regions = system_region_list($theme_key); // Build form tree @@ -295,7 +295,7 @@ function block_admin_display_submit($form_id, $form_values) { function theme_block_admin_display($form) { global $theme_key; - $throttle = module_exist('throttle'); + $throttle = module_exists('throttle'); $block_regions = system_region_list($theme_key); // Highlight regions on page to provide visual reference. diff --git a/modules/contact/contact.module b/modules/contact/contact.module index 61d0aa743..a0176995a 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -27,7 +27,7 @@ function contact_help($section) { return t('Enables the use of both personal and site-wide contact forms.'); case 'admin/build/contact': $output = t('This page lets you setup your site-wide contact form. To do so, add one or more categories. You can associate different recipients with each category to route e-mails to different people. For example, you can route website feedback to the webmaster and direct product information requests to the sales department. On the settings page, you can customize the information shown above the contact form. This can be useful to provide additional contact information such as your postal address and telephone number.', array('@settings' => url('admin/build/contact/settings'), '@form' => url('contact'))); - if (!module_exist('menu')) { + if (!module_exists('menu')) { $menu_note = t('The menu item can be customized and configured only once the menu module has been enabled.', array('@modules-page' => url('admin/settings/modules'))); } else { diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 9909bfdf7..71cf6c960 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -851,7 +851,7 @@ function _forum_new($tid) { * Menu callback; prints a forum listing. */ function forum_page($tid = 0) { - if (module_exist('taxonomy') && module_exist('comment')) { + if (module_exists('taxonomy') && module_exists('comment')) { $forum_per_page = variable_get('forum_per_page', 25); $sortby = variable_get('forum_order', 1); @@ -908,7 +908,7 @@ function theme_forum_display($forums, $topics, $parents, $tid, $sortby, $forum_p $output = '
'; $output .= '