Skip to content

Commit

Permalink
Remove schema and prefix from 3.x's censor list
Browse files Browse the repository at this point in the history
Similar to PR #7555 - make 3.x match the censoring output. `schema` and `prefix`, even from the database connection info, isn't what I'd think of as secrets. Further, I'm actually unsure either of those keys exist in 3.x's database configuration anyway.
  • Loading branch information
AshleyPinner committed Oct 15, 2015
1 parent a4b819b commit 1d9e37d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Database/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -720,9 +720,7 @@ public function __debugInfo()
'username' => '*****',
'host' => '*****',
'database' => '*****',
'port' => '*****',
'prefix' => '*****',
'schema' => '*****'
'port' => '*****'
];
$replace = array_intersect_key($secrets, $this->_config);
$config = $replace + $this->_config;
Expand Down

0 comments on commit 1d9e37d

Please sign in to comment.