mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 16:36:15 -04:00
reverts the changes I didn't like/understand
This commit is contained in:
parent
7cf1a50fff
commit
822d854882
2 changed files with 2 additions and 11 deletions
|
@ -28,7 +28,7 @@ var db = new ueberDB.database(settings.dbType, settings.dbSettings);
|
|||
/**
|
||||
* The UeberDB Object that provides the database functions
|
||||
*/
|
||||
exports.db = db;
|
||||
exports.db = null;
|
||||
|
||||
/**
|
||||
* Initalizes the database with the settings provided by the settings module
|
||||
|
@ -49,6 +49,7 @@ exports.init = function(callback)
|
|||
//everything ok
|
||||
else
|
||||
{
|
||||
exports.db = db;
|
||||
callback(null);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue