From 9ccf5250cdc2627240f4f4362a5a1f1eee4fdc08 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 16 Feb 2019 19:48:06 +0000 Subject: [PATCH] remove config dump --- functions.inc.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/functions.inc.php b/functions.inc.php index 560be291..9156cfa4 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1561,9 +1561,6 @@ function db_connect_with_errors() { } } } catch (PDOException $e) { - if (defined('PHPUNIT_TEST')) { - echo json_encode(['dsn' => $dsn, 'db_user' => Config::read_string('database_user'), 'db_pass' => Config::read_string('database_password'), 'options' => $options, 'exception_message' => $e->getMessage()], JSON_PRETTY_PRINT); - } $error_text = 'PDO exception: '. $e->getMessage(); }