Switching to use the proper DatabaseConnection::ConnectionFactory() call, instead of a raw object, so we get Habari database-specific code executed for the WP Importer. Most notably this makes sure the encoding for the connection is set properly, preventing character set issues.
Switching to use the proper DatabaseConnection::ConnectionFactory() call, instead of a raw object, so we get Habari database-specific code executed for the WP Importer. Most notably this makes sure the encoding for the connection is set properly, preventing character set issues.

This fixes #835. Thanks a lot to bcse!

git-svn-id: d0e296eae3c99886147898d36662a67893ae90b2@3074 653ae4dd-d31e-0410-96ef-6bf7bf53c507

dragonmantank/Habari,dragonmantank/Habari,dragonmantank/Habari