Some mform refactoring
Uses customdata instead of modified constructor.
This commit is contained in:
@@ -24,9 +24,7 @@
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
if (!defined('MOODLE_INTERNAL')) {
|
||||
die('Direct access to this script is forbidden.'); // It must be included from a Moodle page
|
||||
}
|
||||
defined('MOODLE_INTERNAL')) || die();
|
||||
|
||||
// Make sure the code being tested is accessible.
|
||||
require_once($CFG->dirroot . '/mod/workshop/lib.php'); // Include the code to test
|
||||
|
||||
Reference in New Issue
Block a user