[icinga-checkins] icinga.org: icinga-api/master: fix Icinga-API doesn' t allow full SID support for Oracle #1306

git at icinga.org git at icinga.org
Wed Mar 30 10:38:56 CEST 2011


Module: icinga-api
Branch: master
Commit: a1efe2ddba5cc14ed14f28d9f5d6e36a93664f7c
URL:    https://git.icinga.org/?p=icinga-api.git;a=commit;h=a1efe2ddba5cc14ed14f28d9f5d6e36a93664f7c

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Mar 30 10:29:57 2011 +0200

fix Icinga-API doesn't allow full SID support for Oracle #1306

fixes #1306

---

 objects/connection/IcingaApiConnectionDatabase.php |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/objects/connection/IcingaApiConnectionDatabase.php b/objects/connection/IcingaApiConnectionDatabase.php
index ed5f282..69f3e2f 100644
--- a/objects/connection/IcingaApiConnectionDatabase.php
+++ b/objects/connection/IcingaApiConnectionDatabase.php
@@ -125,8 +125,7 @@ abstract class IcingaApiConnectionDatabase
 				}
 
 			} else if( $this->config['type'] == 'oci8') {
-				$this->databaseDsn = $this->config['type'].$this->config['host']."/".$this->config['database'];
-				
+				$this->databaseDsn = $this->config['type'].$this->config['database'];
 			} else {
 
 				if (array_key_exists('port', $this->config)) {





More information about the icinga-checkins mailing list