diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:14 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-25 05:57:14 +0000 |
| commit | 1904de750f421cce9bec21ab89c50ea7a38a37d4 (patch) | |
| tree | 813b3716d45c3c38c1ec3963bef73baf4d8c1c74 /node_simple.js | |
| parent | 74fe077b29ee681f8e55d14afdbd7c93bc2c1048 (diff) | |
Added user search feature, fixed styilng, added some scripting
Diffstat (limited to 'node_simple.js')
| -rw-r--r-- | node_simple.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/node_simple.js b/node_simple.js index 447c605..eeaf5e5 100644 --- a/node_simple.js +++ b/node_simple.js @@ -104,13 +104,6 @@ var uri = exports.uri = 'mongodb://general:assignment4@ds057862.mlab.com:57862/ /*refer to testImports.js*/ //****************************FUNCTIONS************************************************| -exports.closeDB = function(){ - mongoFactory.getConnection(uri).then(function(db) { - db.close(); - }).catch(function(err){ - console.error(err); - }); -}; /** * Remvove a course from ONLY the courses table IN CASE of accidental |
