No need get_student_courses() and get_teacher_courses() anymore.

This commit is contained in:
ethem 2006-09-22 13:11:49 +00:00
parent 16dbf42695
commit b001dec454

View File

@ -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.
*