mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Now everything seems to work fine with the new insert_record() function.
Please, test :-)
This commit is contained in:
parent
3d94772d47
commit
29856bcba0
@ -99,7 +99,7 @@
|
||||
|
||||
//Insert the record id. backup_users decide it.
|
||||
//When all users
|
||||
$status = insert_record("backup_ids",$backupids_rec,false);
|
||||
$status = insert_record("backup_ids",$backupids_rec,false,"backup_code");
|
||||
$count_users++;
|
||||
}
|
||||
//Do some output
|
||||
|
@ -419,7 +419,7 @@
|
||||
$rec->new_id =$new_id;
|
||||
$rec->info = $info_to_save;
|
||||
|
||||
$status = insert_record ("backup_ids", $rec, false);
|
||||
$status = insert_record ("backup_ids", $rec, false,"backup_code");
|
||||
}
|
||||
return $status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user