summaryrefslogtreecommitdiff
path: root/includes/database.pgsql.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-04 14:50:24 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-04 14:50:24 +0000
commit92d0f3e6022ea264279f0d8a0e5b8489a1225af6 (patch)
tree9851d47decf401c2b2834b08f04fb123b2aff7f6 /includes/database.pgsql.inc
parentd5af416e069ebc494f82390a5772f9aa1e5f208a (diff)
downloadbrdo-92d0f3e6022ea264279f0d8a0e5b8489a1225af6.tar.gz
brdo-92d0f3e6022ea264279f0d8a0e5b8489a1225af6.tar.bz2
- Patch #82137 by havran: make installer work with PostgreSQL.
Diffstat (limited to 'includes/database.pgsql.inc')
-rw-r--r--includes/database.pgsql.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/database.pgsql.inc b/includes/database.pgsql.inc
index 01140e133..a4b7301d4 100644
--- a/includes/database.pgsql.inc
+++ b/includes/database.pgsql.inc
@@ -15,7 +15,7 @@
* Report database status.
*/
function db_status_report() {
- $t = get_t().dli;
+ $t = get_t();
$form['pgsql'] = array();
@@ -27,7 +27,7 @@ function db_status_report() {
}
}
else {
- $version = array('server' => t('Unknown'));
+ $version = array('server' => $t('Unknown'));
}
$form['pgsql']['title'] = $t('PostgreSQL database');
@@ -390,7 +390,7 @@ function db_table_exists($table) {
function db_check_setup() {
$encoding = db_result(db_query('SHOW server_encoding'));
if (!in_array(strtolower($encoding), array('unicode', 'utf8'))) {
- drupal_set_message(t('Your PostgreSQL database is set up with the wrong character encoding (%encoding). It is possible it will not work as expected. It is advised to recreate it with UTF-8/Unicode encoding. More information can be found in the <a href="@url">PostgreSQL documentation</a>.', array('%encoding' => $encoding, '@url' => 'http://www.postgresql.org/docs/7.4/interactive/multibyte.html')), 'status');
+ drupal_set_message($t('Your PostgreSQL database is set up with the wrong character encoding (%encoding). It is possible it will not work as expected. It is advised to recreate it with UTF-8/Unicode encoding. More information can be found in the <a href="@url">PostgreSQL documentation</a>.', array('%encoding' => $encoding, '@url' => 'http://www.postgresql.org/docs/7.4/interactive/multibyte.html')), 'status');
}
}