Fix #1341 calculate point difference accurately when files are deleted and re-attached

This commit is contained in:
Kijin Sung 2020-12-15 23:31:00 +09:00
parent aa7a548ecf
commit 367635d21b
4 changed files with 59 additions and 35 deletions

View file

@ -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