summaryrefslogtreecommitdiff
path: root/includes/theme.maintenance.inc
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 15:15:25 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-08 15:15:25 +0000
commita33b43386dee4b19be0f3bd2b5d4eabd54d47b21 (patch)
tree0efa37a2b6e8890e181840cc500d8583dfba2e49 /includes/theme.maintenance.inc
parent5622bce2d52904922a7fd450088bcaed417af7fd (diff)
downloadbrdo-a33b43386dee4b19be0f3bd2b5d4eabd54d47b21.tar.gz
brdo-a33b43386dee4b19be0f3bd2b5d4eabd54d47b21.tar.bz2
#176003 by yched, KarenS, dvessel: put module installs into a batch, solving the following issues:
- possible timeouts with installing/enabling lots of modules at once in core - enable install profiles to have more modules without fear of timeouts on install - bootstrap Drupal before each module load, so previously enabled modules are bootstrapped - let modules run their hook_requirements() (although actually calling them will be possibly fixed in another patch)
Diffstat (limited to 'includes/theme.maintenance.inc')
-rw-r--r--includes/theme.maintenance.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc
index d56a7c89d..94d30cf88 100644
--- a/includes/theme.maintenance.inc
+++ b/includes/theme.maintenance.inc
@@ -127,7 +127,7 @@ function theme_install_page($content) {
// Special handling of status messages
if (isset($messages['status'])) {
- $warnings = count($messages['status']) > 1 ? st('The following installation warnings should be carefully reviewed, but in most cases may be safely ignored') : st('The following installation warning should be carefully reviewed, but in most cases may be safely ignored');
+ $title = count($messages['status']) > 1 ? st('The following installation warnings should be carefully reviewed, but in most cases may be safely ignored') : st('The following installation warning should be carefully reviewed, but in most cases may be safely ignored');
$variables['messages'] .= '<h4>'. $title .':</h4>';
$variables['messages'] .= theme('status_messages', 'status');
}