From aa8abbee149cd528907d84320588d0d872032ad2 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Tue, 3 Dec 2013 14:57:08 +0800 Subject: [PATCH] Revert "MDL-42932 core_lib: added missing $CFG declaration" This reverts commit 4c61097cc7138dd18173775ec55fe2c5aed48857. --- user/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/lib.php b/user/lib.php index 536a54d73f6..fe7d3385898 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, $CFG; + global $DB; // Set the timecreate field to the current time. if (!is_object($user)) {