]> git.mjollnir.org Git - moodle.git/commit
weblib:update_course_icon() - remove access control from here
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 06:52:52 +0000 (06:52 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 06:52:52 +0000 (06:52 +0000)
commit0532aec946fbd2e4757bd7cea04fe4842fc19a37
treeb025a23ee8b2fa1b034613fc80715aa1f2442a63
parent19bb8a0517b2317970d69dcbacf707961559a8d4
weblib:update_course_icon() - remove access control from here

Access control for the course icon display should happen
at the page level, as we'll need to ask "can edit?" quite
a few times in the page.

The fact that this is weblib should be a good hint that
functions that print html should not be doing access control...
lib/weblib.php