]> git.mjollnir.org Git - moodle.git/commit
Roles support added: enrol/authorize:managepayments
authorethem <ethem>
Mon, 14 Aug 2006 14:23:01 +0000 (14:23 +0000)
committerethem <ethem>
Mon, 14 Aug 2006 14:23:01 +0000 (14:23 +0000)
commit4503e31d9ad1b747363cf9a344d5127b9657eabc
tree192ca4d89b567f3f41927db0d58d21228fa30ac7
parent10f5c8903548b65b8bcfbf801134b8c2b3c68aba
Roles support added: enrol/authorize:managepayments

TO DO:
* $CFG->an_teachermanagepay will be removed.
   XXX??? What will be do while sending email to teachers about pending orders expiring???
   If this feature enabled and a teacher no role in managepayments, this will send an email and the teacher cannot manage payments.
   Extra work: get_course_teachers and a teacher has_capability(at course level), send this email.

* convert isteacher to has_capability.
enrol/authorize/locallib.php