]> source.dussan.org Git - nextcloud-server.git/commitdiff
some mdb2 pgsql fixes
authorRobin Appelman <icewind@owncloud.com>
Sun, 13 May 2012 18:56:25 +0000 (20:56 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sun, 13 May 2012 18:56:25 +0000 (20:56 +0200)
3rdparty/MDB2/Driver/Manager/pgsql.php

index e034e6b7381db6b68fdf86475791e06e4f690d75..a7b776cc1b70c755300fad2b7c802d0eb4d04677 100644 (file)
@@ -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)) {