From c5edbc12e82667d418197bfec63fe649660cfaf4 Mon Sep 17 00:00:00 2001 From: ethem Date: Wed, 7 Nov 2007 15:51:45 +0000 Subject: [PATCH] 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 --- enrol/authorize/enrol.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/enrol/authorize/enrol.php b/enrol/authorize/enrol.php index ffd536ce3db..48662ccb345 100755 --- a/enrol/authorize/enrol.php +++ b/enrol/authorize/enrol.php @@ -104,6 +104,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. *