]> git.mjollnir.org Git - moodle.git/commitdiff
fixed misplaced comments on CFG and USER globals
authordhawes <dhawes>
Tue, 28 Sep 2004 02:51:56 +0000 (02:51 +0000)
committerdhawes <dhawes>
Tue, 28 Sep 2004 02:51:56 +0000 (02:51 +0000)
lib/setup.php

index 1bd1255f5ab948d3a875dfc2f15ae6f2597f473e..de355ff1cba10d33591d790b320cdf21c9503a04 100644 (file)
@@ -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