summaryrefslogtreecommitdiffstats
path: root/3rdparty/MDB2
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2012-08-01 22:37:57 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2012-08-01 22:37:57 +0200
commit417bebd9b77712909c0ab207cdde1dce6cfe9744 (patch)
treeb1ea8bd16977cfcd40f7eed931aa48bb00c69347 /3rdparty/MDB2
parentc7be0db853e476822d1253889d7f11c543a92a27 (diff)
downloadnextcloud-server-417bebd9b77712909c0ab207cdde1dce6cfe9744.tar.gz
nextcloud-server-417bebd9b77712909c0ab207cdde1dce6cfe9744.zip
dix php strict warnings in mdb2 oci8
Diffstat (limited to '3rdparty/MDB2')
-rw-r--r--3rdparty/MDB2/Driver/oci8.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/MDB2/Driver/oci8.php b/3rdparty/MDB2/Driver/oci8.php
index f61896b4ab3..9f4137d610c 100644
--- a/3rdparty/MDB2/Driver/oci8.php
+++ b/3rdparty/MDB2/Driver/oci8.php
@@ -406,7 +406,7 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
if (empty($this->dsn['disable_iso_date'])) {
$query = "ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD HH24:MI:SS'";
- $err =& $this->_doQuery($query, true, $connection);
+ $err = $this->_doQuery($query, true, $connection);
if (PEAR::isError($err)) {
$this->disconnect(false);
return $err;
@@ -414,7 +414,7 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
}
$query = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='. '";
- $err =& $this->_doQuery($query, true, $connection);
+ $err = $this->_doQuery($query, true, $connection);
if (PEAR::isError($err)) {
$this->disconnect(false);
return $err;
@@ -646,7 +646,7 @@ class MDB2_Driver_oci8 extends MDB2_Driver_Common
* @return result or error object
* @access protected
*/
- function &_doQuery($query, $is_manip = false, $connection = null, $database_name = null)
+ function _doQuery($query, $is_manip = false, $connection = null, $database_name = null)
{
$this->last_query = $query;
$result = $this->debug($query, 'query', array('is_manip' => $is_manip, 'when' => 'pre'));