Remove unused database_config method

Remove an unused database_config method and clean up
whitespace.

[24805]