remove file management: fix typos

This commit is contained in:
David Anderson 2017-01-25 17:39:31 -08:00
parent 01533dc9e4
commit 27018ca2a8
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ function query_files($r) {
$jf_id = $job_file->id;
} else {
$jf_id = BoincJobFile::insert(
"(md5, create_time, delete_time) values ('$phys_name', $now, $delete_time)"
"(md5, create_time, delete_time) values ('$fname', $now, $delete_time)"
);
if (!$jf_id) {
xml_error(-1, "query_file(): BoincJobFile::insert($fname) failed: ".BoincDb::error());
@ -228,7 +228,7 @@ function upload_files($r) {
"(md5, create_time, delete_time) values ('$fname', $now, $delete_time)"
);
if (!$jf_id) {
xml_error(-1, "BoincJobFile::insert($md5) failed: ".BoincDb::error());
xml_error(-1, "BoincJobFile::insert($fname) failed: ".BoincDb::error());
}
if ($batch_id) {
BoincBatchFileAssoc::insert(