mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-23 12:22:15 +09:00
Fix #1341 calculate point difference accurately when files are deleted and re-attached
This commit is contained in:
parent
aa7a548ecf
commit
367635d21b
4 changed files with 59 additions and 35 deletions
|
|
@ -727,7 +727,9 @@ class fileController extends file
|
|||
{
|
||||
$args->upload_target_type = substr($upload_target_type, 0, 3);
|
||||
}
|
||||
return executeQuery('file.updateFileValid', $args);
|
||||
$output = executeQuery('file.updateFileValid', $args);
|
||||
$output->add('updated_file_count', intval(DB::getInstance()->getAffectedRows()));
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue