Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb32a49
)
MDL-42932 core_lib: added missing $CFG declaration
author
Mark Nelson
<markn@moodle.com>
Tue, 3 Dec 2013 03:11:36 +0000
(19:11 -0800)
committer
Mark Nelson
<markn@moodle.com>
Tue, 3 Dec 2013 03:25:32 +0000
(19:25 -0800)
user/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/user/lib.php
b/user/lib.php
index
fe7d338
..
536a54d
100644
(file)
--- 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)) {