Ensure date indexes do not conflict with module ids

This commit is contained in:
Mark Nelson 2016-08-26 16:43:45 +08:00
parent e5d523de91
commit dab7ebfeb5

View file

@ -21,12 +21,12 @@ defined('MOODLE_INTERNAL') || die();
/** /**
* Date - Issue * Date - Issue
*/ */
define('CUSTOMCERT_DATE_ISSUE', '1'); define('CUSTOMCERT_DATE_ISSUE', '-1');
/** /**
* Date - Completion * Date - Completion
*/ */
define('CUSTOMCERT_DATE_COMPLETION', '2'); define('CUSTOMCERT_DATE_COMPLETION', '-2');
require_once($CFG->dirroot . '/lib/grade/constants.php'); require_once($CFG->dirroot . '/lib/grade/constants.php');