/**
-* enrolment_plugin_internal is the default enrolment plugin
+* enrolment_plugin_manual is the default enrolment plugin
*
* This class provides all the functionality for an enrolment plugin
-* In fact it includes all the code for the default, "internal" method
+* In fact it includes all the code for the default, "manual" method
* so that other plugins can override these as necessary.
*/
-class enrolment_plugin_internal {
+class enrolment_plugin_manual {
var $errormsg;
print_course($course, "80%");
- include("$CFG->dirroot/enrol/internal/enrol.html");
+ include("$CFG->dirroot/enrol/manual/enrol.html");
print_footer();
if (abs($cost) < 0.01) { // no cost, default to base class entry to course
- $internal = enrolment_factory::factory('internal');
- $internal->print_entry($course);
+ $manual = enrolment_factory::factory('manual');
+ $manual->print_entry($course);
} else {
if ($course->password) { // Second option
$password = '';
- include($CFG->dirroot.'/enrol/internal/enrol.html');
+ include($CFG->dirroot.'/enrol/manual/enrol.html');
}
print_footer();
}
if (abs($cost) < 0.01) {
- $internal = enrolment_factory::factory('internal');
- $str = $internal->get_access_icons($course);
+ $manual = enrolment_factory::factory('manual');
+ $str = $manual->get_access_icons($course);
} else {
/// Set a default enrolment configuration (see bug 1598)
if (!isset($CFG->enrol)) {
- $CFG->enrol = 'internal';
+ $CFG->enrol = 'manual';
}
/// File permissions on created directories in the $CFG->dataroot