From 048be1b0916d70045e742e7999fa21d6441c51f5 Mon Sep 17 00:00:00 2001 From: ethem Date: Wed, 7 Nov 2007 15:57:23 +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 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. * -- 2.39.5