mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +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
|
|
@ -657,6 +657,7 @@ class documentController extends document
|
|||
return $attachOutput;
|
||||
}
|
||||
|
||||
$obj->updated_file_count = $attachOutput->get('updated_file_count');
|
||||
ModuleHandler::triggerCall('document.insertDocument', 'after', $obj);
|
||||
|
||||
// commit
|
||||
|
|
@ -967,6 +968,7 @@ class documentController extends document
|
|||
return $attachOutput;
|
||||
}
|
||||
|
||||
$obj->updated_file_count = $attachOutput->get('updated_file_count');
|
||||
ModuleHandler::triggerCall('document.updateDocument', 'after', $obj);
|
||||
|
||||
// commit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue