Revert "MDL-42932 core_lib: added missing $CFG declaration"
authorDan Poltawski <dan@moodle.com>
Tue, 3 Dec 2013 06:57:08 +0000 (14:57 +0800)
committerDan Poltawski <dan@moodle.com>
Tue, 3 Dec 2013 06:57:08 +0000 (14:57 +0800)
user/lib.php

index 536a54d..fe7d338 100644 (file)
@@ -33,7 +33,7 @@
  * @return int id of the newly created user
  */
 function user_create_user($user, $updatepassword = true) {
-    global $DB, $CFG;
+    global $DB;
 
     // Set the timecreate field to the current time.
     if (!is_object($user)) {