From b68e0dafaf3f0b995bc18cca6779c58581c1cca5 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Mon, 3 Apr 2017 16:07:34 +0200 Subject: [PATCH] Ops: fix delete_job_files Script was broken after 3f0f36ac5aac7c921bf81f8b90da436010ae6fb2 --- html/ops/delete_job_files | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/ops/delete_job_files b/html/ops/delete_job_files index 2006639730..daaa522bb1 100755 --- a/html/ops/delete_job_files +++ b/html/ops/delete_job_files @@ -47,8 +47,7 @@ while (1) { $b = _mysql_fetch_object($result); if (!$b) continue; - $fname = job_file_name($file->md5); - $path = dir_hier_path($fname, "../../download", $fanout); + $path = dir_hier_path($file->name, "../../download", $fanout); unlink($path); echo "deleted $path\n"; BoincBatchFileAssoc::delete_aux("job_file_id=$file->id");