Minor - update license

pull/2865/head
Julio 7 years ago
parent d8f6d0e727
commit 22a1ae2e1f
  1. 2
      tests/scripts/edit_course_html_files.php
  2. 2
      tests/scripts/fix_course_spent_time.php
  3. 2
      tests/scripts/fix_exercise_score_in_lp.php
  4. 6
      tests/scripts/fix_lp_calendar.php
  5. 2
      tests/scripts/fix_lp_id_to_iid.php
  6. 2
      tests/scripts/fix_lp_items_not_found.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.

@ -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

@ -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).

@ -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');

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

@ -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'

Loading…
Cancel
Save