]> git.mjollnir.org Git - moodle.git/commit
Starting the global COURSEID.
authormoodler <moodler>
Wed, 29 Mar 2006 15:38:29 +0000 (15:38 +0000)
committermoodler <moodler>
Wed, 29 Mar 2006 15:38:29 +0000 (15:38 +0000)
commit8a58a8e17fccb089088296f709d1de51352c193e
tree035f8bf2c9e4ca47aebea018b7d4002964674180
parent688e209c5cf195311b66c37e78f3d23f5f120f2c
Starting the global COURSEID.

require_login seems to be the best place to capture this, however
I'm sure there are a few little places where it won't work.

We need to hunt these places down and fix them, because I would
like to rely on COURSEID and remove all the "global $course" hacks
that are floating around.

Probably later we need the full object $COURSE as well (to match $SITE)
lib/datalib.php
lib/moodlelib.php