Permalink
Browse files

No need get_student_courses() and get_teacher_courses() anymore.

  • Loading branch information...
1 parent 16dbf42 commit b001dec45444a73fb996c3ab7d3a8be2ad0839b0 ethem committed Sep 22, 2006
Showing with 0 additions and 29 deletions.
  1. +0 −29 enrol/authorize/enrol.php
View
@@ -27,35 +27,6 @@ class enrolment_plugin_authorize
/**
- * 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.
*
* @param object $course Course info

0 comments on commit b001dec

Please sign in to comment.