summaryrefslogtreecommitdiffstats
path: root/3rdparty
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2012-01-13 20:04:59 +0100
committerRobin Appelman <icewind1991@gmail.com>2012-01-13 20:04:59 +0100
commit1b1c4889fc249e8cd27e2c3357868990abb2aa1e (patch)
tree90f6428b8e405cf45d978c787b18bc9ad8ee8e0b /3rdparty
parent37dbf48434525b008c5201136e38eee1aac16c9b (diff)
downloadnextcloud-server-1b1c4889fc249e8cd27e2c3357868990abb2aa1e.tar.gz
nextcloud-server-1b1c4889fc249e8cd27e2c3357868990abb2aa1e.zip
fix some warning in the pgsql driver
Diffstat (limited to '3rdparty')
-rw-r--r--3rdparty/MDB2/Driver/Manager/pgsql.php6
-rw-r--r--3rdparty/MDB2/Driver/pgsql.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/3rdparty/MDB2/Driver/Manager/pgsql.php b/3rdparty/MDB2/Driver/Manager/pgsql.php
index 490f697aa5b..7542e9e8329 100644
--- a/3rdparty/MDB2/Driver/Manager/pgsql.php
+++ b/3rdparty/MDB2/Driver/Manager/pgsql.php
@@ -499,7 +499,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)) {
@@ -631,7 +631,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)) {
@@ -922,7 +922,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)) {
diff --git a/3rdparty/MDB2/Driver/pgsql.php b/3rdparty/MDB2/Driver/pgsql.php
index 6108f18dec1..13fea690680 100644
--- a/3rdparty/MDB2/Driver/pgsql.php
+++ b/3rdparty/MDB2/Driver/pgsql.php
@@ -1193,7 +1193,7 @@ class MDB2_Result_pgsql extends MDB2_Result_Common
if ($object_class == 'stdClass') {
$row = (object) $row;
} else {
- $row = &new $object_class($row);
+ $row = new $object_class($row);
}
}
++$this->rownum;