Browse Source

Rename enrol_self to enrol_apply

SABERES_37_STABLE
Johannes Burk 9 years ago
committed by test
parent
commit
d4a946624f
  1. 2
      edit.php
  2. 2
      edit_form.php

2
edit.php

@ -43,7 +43,7 @@ if ($instanceid) {
$instance->courseid = $course->id;
}
$mform = new enrol_self_edit_form(NULL, array($instance, $plugin, $context));
$mform = new enrol_apply_edit_form(NULL, array($instance, $plugin, $context));
if ($mform->is_cancelled()) {
redirect($return);

2
edit_form.php

@ -14,7 +14,7 @@ defined('MOODLE_INTERNAL') || die();
require_once($CFG->libdir.'/formslib.php');
class enrol_self_edit_form extends moodleform {
class enrol_apply_edit_form extends moodleform {
function definition() {
$mform = $this->_form;

Loading…
Cancel
Save