From 4c61097cc7138dd18173775ec55fe2c5aed48857 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Mon, 2 Dec 2013 19:11:36 -0800 Subject: [PATCH] MDL-42932 core_lib: added missing $CFG declaration --- user/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/lib.php b/user/lib.php index fe7d3385898..536a54d73f6 100644 --- a/user/lib.php +++ b/user/lib.php @@ -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)) { -- 2.43.0