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

14 lines
360 B

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