MDL-42932 core_lib: added missing $CFG declaration

This commit is contained in:
Mark Nelson
2013-12-02 19:25:32 -08:00
parent bb32a499e1
commit 4c61097cc7
+1 -1
View File
@@ -33,7 +33,7 @@
* @return int id of the newly created user
*/
function user_create_user($user, $updatepassword = true) {
global $DB;
global $DB, $CFG;
// Set the timecreate field to the current time.
if (!is_object($user)) {