setup_db_connections() is deprecated
removed get_db_link()
deprecated more database code
added database config class
php does not like creating stdClass objects without constructor any more so changed the multiple database connection configuration
using config class in Elgg_Database
removed last $CONFIG dependency from Elgg_Database
Merge pull request #5434 from cash/database2

More database cleanup