mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
some cleanup of unread
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
|
||||
|
||||
module.init = function(callback) {
|
||||
|
||||
mongoClient.connect('mongodb://'+ nconf.get('mongo:host') + ':' + nconf.get('mongo:port') + '/' + nconf.get('mongo:database'), function(err, _db) {
|
||||
if(err) {
|
||||
winston.error("NodeBB could not connect to your Mongo database. Mongo returned the following error: " + err.message);
|
||||
|
||||
Reference in New Issue
Block a user