Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/Twig.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/core/Twig.php b/core/Twig.php
index 70b206070e..22c9b6fb81 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -455,13 +455,6 @@ class Twig
if (SettingsPiwik::isMatomoInstalled()) {
$string = str_replace(SettingsPiwik::getPiwikUrl(), '$MATOMO_URL', $string);
$string = str_replace(SettingsPiwik::getSalt(), '$MATOMO_SALT', $string);
-
- $config = Config::getInstance();
- $db = $config->database;
- $string = str_replace($db['username'], '$DB_USERNAME', $string);
- $string = str_replace($db['password'], '$DB_PASSWORD', $string);
- $string = str_replace($db['host'], '$DB_HOST', $string);
- $string = str_replace($db['dbname'], '$DB_NAME', $string);
}
return $string;
});