aboutsummaryrefslogtreecommitdiff
path: root/node_simple.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_simple.js')
-rw-r--r--node_simple.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/node_simple.js b/node_simple.js
index a3d0f6e..0290519 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