mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-15094 fixed regression
This commit is contained in:
parent
8f15f8ec2d
commit
a4e315c6d5
2 changed files with 2 additions and 2 deletions
|
@ -488,7 +488,7 @@
|
|||
//If the info field is "infile" then the file is deleted too
|
||||
function backup_delid ($backup_unique_code, $table, $old_id) {
|
||||
global $DB;
|
||||
return $DB->delete_records('backup_ids', array('backup_code'=>$backup_unique_code, '$table_name'=>$table, 'old_id'=>$old_id));
|
||||
return $DB->delete_records('backup_ids', array('backup_code'=>$backup_unique_code, 'table_name'=>$table, 'old_id'=>$old_id));
|
||||
}
|
||||
|
||||
//This function is used to get a record from the backup_ids table
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue