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; $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()) { if ($mform->is_cancelled()) {
redirect($return); redirect($return);

2
edit_form.php

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

Loading…
Cancel
Save