From 7ba01e20382307fe1f44f05675868d61d2619d20 Mon Sep 17 00:00:00 2001 From: Jure Kajzer Date: Tue, 1 Mar 2011 13:58:50 +0000 Subject: [PATCH] * forgot about those ... --- includes/db/DatabaseOracle.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/includes/db/DatabaseOracle.php b/includes/db/DatabaseOracle.php index 6c07a3a2f7..975cdd37c4 100644 --- a/includes/db/DatabaseOracle.php +++ b/includes/db/DatabaseOracle.php @@ -243,11 +243,13 @@ class DatabaseOracle extends DatabaseBase { } $session_mode = $this->mFlags & DBO_SYSDBA ? OCI_SYSDBA : OCI_DEFAULT; + wfSuppressWarnings(); if ( $this->mFlags & DBO_DEFAULT ) { - $this->mConn = @oci_new_connect( $this->mUser, $this->mPassword, $this->mServer, $this->defaultCharset, $session_mode ); + $this->mConn = oci_new_connect( $this->mUser, $this->mPassword, $this->mServer, $this->defaultCharset, $session_mode ); } else { - $this->mConn = @oci_connect( $this->mUser, $this->mPassword, $this->mServer, $this->defaultCharset, $session_mode ); + $this->mConn = oci_connect( $this->mUser, $this->mPassword, $this->mServer, $this->defaultCharset, $session_mode ); } + wfRestoreWarnings(); if ( $this->mUser != $this->mDBname ) { //change current schema in session -- 2.20.1