zotonic/zotonic — pull request #250 by kaos (2011-10-31 11:26:53+00:00)
Title: mod_backup: lookup db settings from pgsql_pool.

In z_site_sup:add_db_pool/3, there is a fallback for the db settings, using the options from z_config.

This patch makes sure that mod_backup uses the same db settings as all other db queries, without relying on fallbacks etc.

Also, a minor grammatic fix has slipped through... :)