MDL-15094 fixed regression

This commit is contained in:
skodak 2008-06-04 23:58:23 +00:00
parent 8f15f8ec2d
commit a4e315c6d5
2 changed files with 2 additions and 2 deletions

View file

@ -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