From: ethem Date: Wed, 7 Nov 2007 15:57:23 +0000 (+0000) Subject: Fix for refactoring X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=048be1b0916d70045e742e7999fa21d6441c51f5;p=moodle.git Fix for refactoring Fatal error: Call to undefined method enrolment_plugin_authorize::print_enrolmentkeyfrom() in /usr/local/www/data/moodle/enrol/manual/enrol.html on line 7 --- diff --git a/enrol/authorize/enrol.php b/enrol/authorize/enrol.php index a58f8deb7a..1829147e0a 100755 --- a/enrol/authorize/enrol.php +++ b/enrol/authorize/enrol.php @@ -108,6 +108,13 @@ class enrolment_plugin_authorize } + function print_enrolmentkeyfrom($course) + { + $manual = enrolment_factory::factory('manual'); + $manual->print_enrolmentkeyfrom($course); + } + + /** * Validates registration forms and enrols student to course. *