Skip to content

Commit

Permalink
MDL-12856 - previous commit was breaking moodle installs after
Browse files Browse the repository at this point in the history
redeclaring method. Remove the duplicate function.

merged from MOODLE_19_STABLE
  • Loading branch information
poltawski committed Jan 7, 2008
1 parent 3b13da3 commit 209819b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions enrol/paypal/enrol.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 209819b

Please sign in to comment.