Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit 040d573

Browse files
committed
Updated to version 1.1.3
1 parent f0040df commit 040d573

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

src/Database.php

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -275,17 +275,14 @@ public static function getConnection($databaseID, $provider = null, $host = null
275275
return self::$_conn[$databaseID];
276276
}
277277

278-
if (!self::$_conn[$databaseID]) {
279-
280-
self::$_conn[$databaseID] = new Database(
281-
$provider,
282-
$host,
283-
$dbUser,
284-
$dbName,
285-
$pass,
286-
$settings
287-
);
288-
}
278+
self::$_conn[$databaseID] = new Database(
279+
$provider,
280+
$host,
281+
$dbUser,
282+
$dbName,
283+
$pass,
284+
$settings
285+
);
289286

290287
return self::$_conn[$databaseID];
291288
}

0 commit comments

Comments
 (0)