Permalink
Browse files

fixed misplaced comments on CFG and USER globals

  • Loading branch information...
1 parent ca811dc commit 674fb525d2bcb035a9e5342a57562108ffd9ab3b dhawes committed Sep 28, 2004
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/setup.php
View
@@ -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

0 comments on commit 674fb52

Please sign in to comment.