From 674fb525d2bcb035a9e5342a57562108ffd9ab3b Mon Sep 17 00:00:00 2001 From: dhawes Date: Tue, 28 Sep 2004 02:51:56 +0000 Subject: [PATCH] fixed misplaced comments on CFG and USER globals --- lib/setup.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/setup.php b/lib/setup.php index 1bd1255f5ab94..de355ff1cba10 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 @@ * - $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