From: Robin Appelman Date: Sun, 13 May 2012 18:56:25 +0000 (+0200) Subject: some mdb2 pgsql fixes X-Git-Tag: v4.0.0RC2~92 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=68fd5a5d5872e0a83509ab195057859edfd332ed;p=nextcloud-server.git some mdb2 pgsql fixes --- diff --git a/3rdparty/MDB2/Driver/Manager/pgsql.php b/3rdparty/MDB2/Driver/Manager/pgsql.php index e034e6b7381..a7b776cc1b7 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)) {