MDL-12856 - previous commit was breaking moodle installs after

redeclaring method. Remove the duplicate function.
This commit is contained in:
poltawski
2008-01-07 20:56:20 +00:00
parent 6b843dfac1
commit 7e65c42f39
-10
View File
@@ -125,16 +125,6 @@ function get_access_icons($course) {
return $str;
}
/**
* This is needed, solely because we use the 'manual' plug-in to display course key.
*/
function print_enrolmentkeyfrom($course) {
global $CFG;
require_once($CFG->dirroot.'/enrol/manual/enrol.php');
return enrolment_plugin_manual::print_enrolmentkeyfrom($course);
}
/// Override the base class config_form() function
function config_form($frm) {
global $CFG;