We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04e334 commit cfcfbc6Copy full SHA for cfcfbc6
config.php
@@ -27,10 +27,3 @@
27
* @var string
28
*/
29
define('MPG_MONGODB_PORT', '27017');
30
-
31
-/**
32
- * MongoDB server database.
33
- *
34
- * @var string
35
- */
36
-define('MPG_MONGODB_DATABASE', '');
src/Helpers/MongoDBHelper.php
@@ -25,10 +25,6 @@ public static function createClient() : MongoDBClient {
25
$clientUri .= ':' . MPG_MONGODB_PORT;
26
}
- if ( !empty(MPG_MONGODB_DATABASE) ) {
- $clientUri .= '/' . MPG_MONGODB_DATABASE;
- }
return new MongoDBClient($clientUri);
0 commit comments