Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Jan 6, 2024
1 parent 5b460d7 commit 43bf7a0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/Driver/AbstractOracleDriver/EasyConnectString.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,7 @@ public static function fromConnectionParameters(array $params): self
$connectData = [];

if (isset($params['servicename']) || isset($params['dbname'])) {
$serviceKey = 'SERVICE_NAME';

if (isset($params['service'])) {
$serviceKey = 'SERVICE_NAME';
}

$serviceName = $params['servicename'] ?? $params['dbname'];

$connectData[$serviceKey] = $serviceName;
$connectData['SERVICE_NAME'] = $params['servicename'] ?? $params['dbname'];
}

if (isset($params['instancename'])) {
Expand Down

0 comments on commit 43bf7a0

Please sign in to comment.