From b001dec45444a73fb996c3ab7d3a8be2ad0839b0 Mon Sep 17 00:00:00 2001 From: ethem Date: Fri, 22 Sep 2006 13:11:49 +0000 Subject: [PATCH] No need get_student_courses() and get_teacher_courses() anymore. --- enrol/authorize/enrol.php | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/enrol/authorize/enrol.php b/enrol/authorize/enrol.php index 6d771380fd..a1e4210731 100755 --- a/enrol/authorize/enrol.php +++ b/enrol/authorize/enrol.php @@ -26,35 +26,6 @@ class enrolment_plugin_authorize var $log; - /** - * Returns information about the courses a student has access to - * - * Set the $user->student course array - * Set the $user->timeaccess course array - * - * @param object &$user must contain $user->id already set - */ - function get_student_courses(&$user) { - $manual = enrolment_factory::factory('manual'); - $manual->get_student_courses($user); - } - - - /** - * Returns information about the courses a teacher has access to - * - * Set the $user->teacher course array - * Set the $user->teacheredit course array - * Set the $user->timeaccess course array - * - * @param object &$user must contain $user->id already set - */ - function get_teacher_courses(&$user) { - $manual = enrolment_factory::factory('manual'); - $manual->get_teacher_courses($user); - } - - /** * Shows a credit card form for registration. * -- 2.39.5