diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 03:13:44 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-24 03:13:44 +0000 |
commit | 4241e34e0b3a5f987ee961c3a0813417094de7bd (patch) | |
tree | ed414d969f624cc74494e32bbeeceef7b2669f33 /includes/install.inc | |
parent | bf9c6341231cf2bc17895d54e41bc824eb742b7a (diff) | |
download | brdo-4241e34e0b3a5f987ee961c3a0813417094de7bd.tar.gz brdo-4241e34e0b3a5f987ee961c3a0813417094de7bd.tar.bz2 |
#524728 follow-up by David_Rothstein: Fix whitespace in install.php and install.inc.
Diffstat (limited to 'includes/install.inc')
-rw-r--r-- | includes/install.inc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/includes/install.inc b/includes/install.inc index f66291bfb..0e68a1b06 100644 --- a/includes/install.inc +++ b/includes/install.inc @@ -932,13 +932,13 @@ function st($string, $args = array()) { if (!isset($locale_strings)) { $locale_strings = array(); if (isset($install_state['parameters']['profile']) && isset($install_state['parameters']['locale'])) { - $filename = 'profiles/' . $install_state['parameters']['profile'] . '/translations/' . $install_state['parameters']['locale'] . '.po'; - if (file_exists(DRUPAL_ROOT . '/' . $filename)) { - require_once DRUPAL_ROOT . '/includes/locale.inc'; - $file = (object) array('uri' => $filename); - _locale_import_read_po('mem-store', $file); - $locale_strings = _locale_import_one_string('mem-report'); - } + $filename = 'profiles/' . $install_state['parameters']['profile'] . '/translations/' . $install_state['parameters']['locale'] . '.po'; + if (file_exists(DRUPAL_ROOT . '/' . $filename)) { + require_once DRUPAL_ROOT . '/includes/locale.inc'; + $file = (object) array('uri' => $filename); + _locale_import_read_po('mem-store', $file); + $locale_strings = _locale_import_one_string('mem-report'); + } } } |