Skip to content

Commit

Permalink
Remove port alias
Browse files Browse the repository at this point in the history
  • Loading branch information
bomjfedosei authored Aug 5, 2024
1 parent 64d6f02 commit c7f86d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Connectors/OracleDBConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ protected function getDsn(array $config)
// First we will create the basic DSN setup as well as the port if it is in
// in the configuration options. This will give us the basic DSN we will
// need to establish the PDO connections and return them back for use.
$port = isset($config['port']) ? ','.$port : '';

if (in_array('oci', $this->getAvailableDrivers()))
{
Expand All @@ -62,4 +61,4 @@ protected function getAvailableDrivers()
return PDO::getAvailableDrivers();
}

}
}

0 comments on commit c7f86d8

Please sign in to comment.