From 68fd5a5d5872e0a83509ab195057859edfd332ed Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 13 May 2012 20:56:25 +0200 Subject: [PATCH] some mdb2 pgsql fixes --- 3rdparty/MDB2/Driver/Manager/pgsql.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/3rdparty/MDB2/Driver/Manager/pgsql.php b/3rdparty/MDB2/Driver/Manager/pgsql.php index e034e6b738..a7b776cc1b 100644 --- a/3rdparty/MDB2/Driver/Manager/pgsql.php +++ b/3rdparty/MDB2/Driver/Manager/pgsql.php @@ -513,7 +513,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common * @return mixed array of view names on success, a MDB2 error on failure * @access public */ - function listViews() + function listViews($database = null) { $db = $this->getDBInstance(); if (PEAR::isError($db)) { @@ -645,7 +645,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common * @return mixed array of table names on success, a MDB2 error on failure * @access public */ - function listTables() + function listTables($database = null) { $db = $this->getDBInstance(); if (PEAR::isError($db)) { @@ -952,7 +952,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common * @return mixed array of sequence names on success, a MDB2 error on failure * @access public */ - function listSequences() + function listSequences($database = null) { $db = $this->getDBInstance(); if (PEAR::isError($db)) {