Some mform refactoring

Uses customdata instead of modified constructor.
This commit is contained in:
David Mudrak
2010-01-04 17:37:53 +00:00
parent 9277982f0f
commit 6d86051250
6 changed files with 38 additions and 49 deletions
+1 -3
View File
@@ -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