remote file management: fix JobFile::delete()

This commit is contained in:
David Anderson 2017-02-21 09:30:49 -08:00
parent 9b75ddebec
commit 587e98d9db
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class BoincJobFile {
} }
function delete() { function delete() {
$db = BoincDb::get(); $db = BoincDb::get();
return $db->delete_aux('job_file', "md5='$this->md5'"); return $db->delete($this, 'job_file');
} }
function update($clause) { function update($clause) {
$db = BoincDb::get(); $db = BoincDb::get();