$teacher is used in manual form. No need global. merged from 16stable.

This commit is contained in:
ethem
2006-06-29 15:03:54 +00:00
parent 665d43006a
commit b1c87d90dc
+1 -1
View File
@@ -112,7 +112,6 @@ class enrolment_plugin_authorize
}
}
$teacher = get_teacher($course->id);
$strcourses = get_string('courses');
$strloginto = get_string('loginto', '', $course->shortname);
$zerocost = $this->zero_cost($course);
@@ -142,6 +141,7 @@ class enrolment_plugin_authorize
if ($course->password) {
$password = '';
$teacher = get_teacher($course->id);
include($CFG->dirroot.'/enrol/manual/enrol.html');
}