]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-12856 - previous commit was breaking moodle installs after
authorpoltawski <poltawski>
Mon, 7 Jan 2008 20:57:44 +0000 (20:57 +0000)
committerpoltawski <poltawski>
Mon, 7 Jan 2008 20:57:44 +0000 (20:57 +0000)
redeclaring method. Remove the duplicate function.

merged from MOODLE_19_STABLE

enrol/paypal/enrol.php

index b73e27b85615b2cec10d059a8013ca582d915bcf..7cba406e955bb5a1acc9baf2fe18acdf0390b41c 100644 (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;