mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Whoops, forgot a debug statement
This commit is contained in:
parent
1f3eb3191a
commit
0b949a6d0c
1 changed files with 0 additions and 2 deletions
|
@ -15,8 +15,6 @@
|
||||||
$user->firstaccess = time();
|
$user->firstaccess = time();
|
||||||
$user->secret = random_string(15);
|
$user->secret = random_string(15);
|
||||||
|
|
||||||
$db->debug = true;
|
|
||||||
|
|
||||||
if (! ($user->id = insert_record("user", $user)) ) {
|
if (! ($user->id = insert_record("user", $user)) ) {
|
||||||
error("Could not add your record to the database!");
|
error("Could not add your record to the database!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue