fix_student_publication_id.php 360 B

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