diff options
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 4b302109b..746fdb103 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -1233,7 +1233,7 @@ function system_modules() { /** * Handle throttle checkboxes, including overriding the generated checkboxes for required modules. */ - if (module_exist('throttle')) { + if (module_exists('throttle')) { $form['throttle'] = array('#type' => 'checkboxes', '#default_value' => $throttle, '#options' => $options); $throttle_required = array_merge($required, array('throttle')); foreach ($throttle_required as $require) { @@ -1253,14 +1253,14 @@ function theme_system_modules($form) { $row[] = drupal_render($form['description'][$key]); $row[] = array('data' => drupal_render($form['status'][$key]), 'align' => 'center'); - if (module_exist('throttle')) { + if (module_exists('throttle')) { $row[] = array('data' => drupal_render($form['throttle'][$key]), 'align' => 'center'); } $rows[] = $row; } $header = array(t('Name'), t('Description'), t('Enabled')); - if (module_exist('throttle')) { + if (module_exists('throttle')) { $header[] = t('Throttle'); } @@ -1399,7 +1399,7 @@ function system_theme_settings($key = '') { $disabled['toggle_node_user_picture'] = TRUE; $disabled['toggle_comment_user_picture'] = TRUE; } - if (!module_exist('search')) { + if (!module_exists('search')) { $disabled['toggle_search'] = TRUE; } |