Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/tests/scripts/fix_student_publication_id.php

13 lines
449 B

<?php
/* For license terms, see /license.txt */
die('Remove the "die()" statement on line '.__LINE__.' to execute this script'.PHP_EOL);
if (PHP_SAPI != 'cli') {
die('This script can only be launched from the command line');
}
require_once __DIR__.'/../../public/main/inc/global.inc.php';
require_once api_get_path(SYS_CODE_PATH).'install/install.lib.php';
$connection = Database::getManager()->getConnection();
fixPostGroupIds($connection);