]> git.mjollnir.org Git - moodle.git/commit
course/view: roleswitch checks moved to the course page
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:06:44 +0000 (07:06 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:06:44 +0000 (07:06 +0000)
commitd7d4b0e572e3fb0cd99a6987093b392bdd133fd9
tree4fbd872438ffbac3a05df105f611639e865f38b4
parent6cc59cb21be678cb9baf011316f33304f67441fd
course/view: roleswitch checks moved to the course page

Implemented all the relevant checks for role_switch().

accesslib's role_switch() doesn't do any UI-related checks any more,
being a backend lib call. These belong here.
course/view.php