aboutsummaryrefslogtreecommitdiff
path: root/node_simple.js
diff options
context:
space:
mode:
authorHumairAK <humair88@hotmail.com>2016-07-27 18:02:13 +0000
committerHumairAK <humair88@hotmail.com>2016-07-27 18:02:13 +0000
commit189c183337cf3281056d313c4724536e450a46fd (patch)
tree11e0a22dda0bcd3ecd4f5f306e72ee8813817887 /node_simple.js
parentb19b2306723289e511efdbeae451612ab09bba6f (diff)
fixed tests to work again, added db connectivity, moved dbtests folder out so as not to interfere with mocha recursive search
Diffstat (limited to 'node_simple.js')
-rw-r--r--node_simple.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/node_simple.js b/node_simple.js
index 1692527..c787bb0 100644
--- a/node_simple.js
+++ b/node_simple.js
@@ -422,9 +422,6 @@ exports.add_user = function (fields, callbackUser) {
});
};
-
-
-
/**
* This function returns whether the user with the given username has already been signed in before.
* This is important because we need to link a unique facebook account with a username. If the user has signed in
@@ -450,7 +447,6 @@ exports.userVerifiedBefore = function(username, callback) {
});
};
-
/**
* THis function adds the user's facebook account verification to the database and links it to the user's local in site
* account.
@@ -599,7 +595,6 @@ exports.findUserByID = function (id, callback) {
/************************* COURSES / EXAMS **********************************/
-
/**
* Remvove a course from ONLY the courses table IN CASE of accidental
* addition.
@@ -634,7 +629,6 @@ exports.remove_course = function (course_code, callback) {
});
};
-
/**
* This function will add the given exam_id to the given user's followers list.
* It simply appends the exam_id to the list and nothing else.
@@ -684,10 +678,6 @@ exports.followExam = function (user_name, exam_id, callback) {
});
};
-
-
-
-
/**
* This function returns an array where each element contains info for a particular question
* such as the question number (_id), number of solutions (count), and number of comments