diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-05 08:48:58 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-05 08:48:58 +0000 |
commit | 806d0a3dee25333558bb0a888c2a51c33f0723cd (patch) | |
tree | 4171b59abeb1607948721d86f5c76405c666491b /modules/system | |
parent | b9c40a52370c2e7d8b3db078f869e02881435da9 (diff) | |
download | brdo-806d0a3dee25333558bb0a888c2a51c33f0723cd.tar.gz brdo-806d0a3dee25333558bb0a888c2a51c33f0723cd.tar.bz2 |
#156910 by asimmonds: fix code indentation problems introduced with new code in this development cycle; only whitespace changes
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 |