Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No need get_student_courses() and get_teacher_courses() anymore.

  • Loading branch information...
commit b001dec45444a73fb996c3ab7d3a8be2ad0839b0 1 parent 16dbf42
ethem authored
Showing with 0 additions and 29 deletions.
  1. +0 −29 enrol/authorize/enrol.php
View
29 enrol/authorize/enrol.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.