mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-42932 core_lib: added missing $CFG declaration
This commit is contained in:
parent
bb32a499e1
commit
4c61097cc7
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue