diff -u b/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php b/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php
--- b/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php
+++ b/core/lib/Drupal/Core/Installer/Exception/AlreadyInstalledException.php
@@ -23,19 +23,16 @@
* A specific message exception message.
*/
public function __construct(TranslationInterface $string_translation, $specific_message = '') {
- $title = $this->t('Drupal already installed.');
+ $title = 'Drupal already installed.';
$message = "
\n";
if ($specific_message !== '') {
$message .= '- ' . $specific_message . '
';
}
- $message .= $this->t('- To start over, you must empty your existing database and copy default.settings.php over settings.php.
-- To upgrade an existing installation, proceed to the update script.
-- View your existing site.
-
', array(
- '!base-url' => $GLOBALS['base_url'],
- '!update-url' => $GLOBALS['base_path'] . 'update.php',
- ));
+ $message .= 'To start over, you must empty your existing database and copy default.settings.php over settings.php.
+To upgrade an existing installation, proceed to the update script.
+View your existing site.
+';
parent::__construct($message, $title);
}