From d4a946624fbecf0a1807d8760e3de7deec42c4a1 Mon Sep 17 00:00:00 2001 From: Johannes Burk Date: Thu, 26 May 2016 16:51:44 +0200 Subject: [PATCH] Rename enrol_self to enrol_apply --- edit.php | 2 +- edit_form.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/edit.php b/edit.php index e91733e..49b7048 100644 --- a/edit.php +++ b/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); diff --git a/edit_form.php b/edit_form.php index ed97deb..bc0cc1c 100644 --- a/edit_form.php +++ b/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;