mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
Revert "MDL-42932 core_lib: added missing $CFG declaration"
This reverts commit 4c61097cc7138dd18173775ec55fe2c5aed48857.
This commit is contained in:
parent
8f49492ac2
commit
aa8abbee14
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user