diff options
Diffstat (limited to 'modules/system')
-rw-r--r-- | modules/system/system.install | 6 | ||||
-rw-r--r-- | modules/system/system.module | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 525d66ceb..e09916ecf 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -958,9 +958,9 @@ function system_update_145() { $themes = list_themes(); if (!array_key_exists($default_theme, $themes)) { - variable_set('theme_default', 'garland'); - $default_theme = 'garland'; - } + variable_set('theme_default', 'garland'); + $default_theme = 'garland'; + } $ret = array(); diff --git a/modules/system/system.module b/modules/system/system.module index 7008353f2..a35d5480e 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -2122,15 +2122,15 @@ function system_modules_uninstall_submit($form, &$form_state) { * Menu callback: run cron manually. */ function system_run_cron() { - // Run cron manually - if (drupal_cron_run()) { - drupal_set_message(t('Cron ran successfully')); - } - else { - drupal_set_message(t('Cron run failed')); - } + // Run cron manually + if (drupal_cron_run()) { + drupal_set_message(t('Cron ran successfully')); + } + else { + drupal_set_message(t('Cron run failed')); + } - drupal_goto('admin/logs/status'); + drupal_goto('admin/logs/status'); } /** @@ -3054,7 +3054,7 @@ function system_message_action(&$object, $context = array()) { $variables = array( '%site_name' => variable_get('site_name', 'Drupal'), '%username' => $user->name ? $user->name : variable_get('anonymous', t('Anonymous')), - ); + ); // This action can be called in any context, but if placeholders // are used a node object must be present to be the source |