Script: Fix missing exit + update documentation

pull/4635/head
Yannick Warnier 3 years ago
parent 291d829b7b
commit b9ceee8704
  1. 4
      tests/scripts/delete_deleted_exercises_with_questions.php
  2. 3
      tests/scripts/delete_duplicate_documents.php
  3. 2
      tests/scripts/find_duplicate_documents_by_md5.php

@ -1,6 +1,10 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This script cleans up tests and questions that were deleted from the
* platform interface but were left in the database for recovery purposes.
*/
exit;
require_once __DIR__ . '/../../main/inc/global.inc.php';

@ -1,8 +1,7 @@
<?php
/* For licensing terms, see /license.txt */
/**
* This script removes duplicated tests and questions created
* through something gone wrong in the course backup/copy process.
* This script removes duplicated documents.
* It identifies duplicate documents by title, path and size, and
* makes sure no usage is associated with the duplicated document, and
* that the duplicated document is not used in a learning path.

@ -15,7 +15,7 @@
*
* @author Yannick Warnier <yannick.warnier@beeznest.com>
*/
//exit; //remove this line to execute from the command line
exit; //remove this line to execute from the command line
use ChamiloSession as Session;

Loading…
Cancel
Save