]> git.mjollnir.org Git - moodle.git/commitdiff
No need get_student_courses() and get_teacher_courses() anymore.
authorethem <ethem>
Fri, 22 Sep 2006 13:11:49 +0000 (13:11 +0000)
committerethem <ethem>
Fri, 22 Sep 2006 13:11:49 +0000 (13:11 +0000)
enrol/authorize/enrol.php

index 6d771380fd69f103162983daed26fea5eca88a2a..a1e421073108bb16a022096d5a6b9e55c409e810 100755 (executable)
@@ -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.
      *