. /** * Post-install code for the quiz module. * * @package mod * @subpackage quiz * @copyright 2009 Petr Skoda * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Code run after the quiz module database tables have been created. */ function xmldb_quiz_install() { global $DB; $record = new stdClass(); $record->name = 'overview'; $record->displayorder = '10000'; $DB->insert_record('quiz_reports', $record); $record = new stdClass(); $record->name = 'responses'; $record->displayorder = '9000'; $DB->insert_record('quiz_reports', $record); $record = new stdClass(); $record->name = 'grading'; $record->displayorder = '6000'; $DB->insert_record('quiz_reports', $record); }