From: dhawes Date: Tue, 28 Sep 2004 02:51:56 +0000 (+0000) Subject: fixed misplaced comments on CFG and USER globals X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=674fb525d2bcb035a9e5342a57562108ffd9ab3b;p=moodle.git fixed misplaced comments on CFG and USER globals --- diff --git a/lib/setup.php b/lib/setup.php index 1bd1255f5a..de355ff1cb 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -25,9 +25,9 @@ * - $USER->secret - The user's ?. * - $USER->lang - The user's language choice. * - * @global object(cfg) $CFG + * @global object(user) $USER */ -global $CFG; +global $USER; /** * $USER is a global instance of a typical $user record. * @@ -36,9 +36,9 @@ global $CFG; * - $CFG->dataroot - Path to moodle index directory on server's filesystem. * - $CFG->libroot - Path to moodle's library folder on server's filesystem. * - * @global object(user) $USER + * @global object(cfg) $CFG */ -global $USER; +global $CFG; /** * Definition of session type * @global object(session) $SESSION