Browse Source

refactor: remove unnecessary console messages

lairaalmas 6 months ago
parent
commit
5d4fb7e090
2 changed files with 0 additions and 8 deletions
  1. 0 7
      js/globals/globals_functions.js
  2. 0 1
      js/moodle/integrationFunctions.js

+ 0 - 7
js/globals/globals_functions.js

@@ -169,10 +169,6 @@ const sendToDatabase = function (extraData) {
       '&iLM_PARAM_ArchiveContent=' +
       encodeURIComponent(report);
 
-    console.log(grade);
-    console.log(report);
-    console.log(moodleVar);
-
     const init = {
       method: 'POST',
       body: data,
@@ -206,9 +202,6 @@ const sendToDatabase = function (extraData) {
       langString +
       extraData;
 
-    console.log('----------------');
-    console.log(data);
-
     const url = 'php/save.php';
 
     const init = {

+ 0 - 1
js/moodle/integrationFunctions.js

@@ -67,7 +67,6 @@ function getAnswer() {
         moodleVar.time[i] +
         '}';
     }
-    console.log(str);
   } else {
     // Professor role: creating new assignment
     if (!gameName) {