Browse Source

Minor - update license

Julio 6 years ago
parent
commit
22a1ae2e1f

+ 2 - 0
tests/scripts/edit_course_html_files.php

@@ -1,4 +1,6 @@
 <?php
+/* For licensing terms, see /license.txt */
+
 /**
  * Goes through all HTML files of the courses directory and replaces
  * the first string by the second string.

+ 2 - 0
tests/scripts/fix_course_spent_time.php

@@ -1,4 +1,6 @@
 <?php
+/* For licensing terms, see /license.txt */
+
 /**
  * This script checks and updates (if you uncomment the query)
  * the records in track_e_course_access that is used to calculate the

+ 2 - 0
tests/scripts/fix_exercise_score_in_lp.php

@@ -1,4 +1,6 @@
 <?php
+/* For licensing terms, see /license.txt */
+
 /**
  * This script synchronize the exercise score (track_e_exercises.exe_result)
  * with the LP score result (lp_item_view.score).

+ 2 - 4
tests/scripts/fix_lp_calendar.php

@@ -1,10 +1,8 @@
 <?php
-
+/* For licensing terms, see /license.txt */
 
 require __DIR__ . '/../../main/inc/global.inc.php';
 
-
-
 $extraField = new ExtraField('lp_item');
 $extraFieldInfo = $extraField->get_handler_field_info_by_field_variable('calendar');
 if (empty($extraFieldInfo)) {
@@ -18,7 +16,7 @@ $sql = 'select iid from c_lp_item where title like "%(+)%"';
 $result = Database::query($sql);
 while ($row = Database::fetch_array($result)) {
     $lpItemId = $row['iid'];
-    
+
     $extraField = new ExtraFieldValue('lp_item');
     $values = $extraField->get_values_by_handler_and_field_variable($lpItemId, 'calendar');
 

+ 2 - 0
tests/scripts/fix_lp_id_to_iid.php

@@ -1,4 +1,6 @@
 <?php
+/* For licensing terms, see /license.txt */
+
 /**
  * This script fixes use of id instead of iid for the learning path
  */

+ 2 - 0
tests/scripts/fix_lp_items_not_found.php

@@ -1,4 +1,6 @@
 <?php
+/* For licensing terms, see /license.txt */
+
 /**
  * This script try to fix the lp items path for missing files
  * It's useful when the path field in c_lp_item table has a value like 'document/item_file.html'