Fix #2245 don't change file state when moving document or comment to trash

This commit is contained in:
Kijin Sung 2023-12-30 20:33:00 +09:00
parent 031f3bb54d
commit 6486462b73
2 changed files with 4 additions and 0 deletions

View file

@ -1437,6 +1437,7 @@ class CommentController extends Comment
}
}
/*
if($oComment->hasUploadedFiles())
{
$args = new stdClass();
@ -1444,6 +1445,7 @@ class CommentController extends Comment
$args->isvalid = 'N';
executeQuery('file.updateFileValid', $args);
}
*/
$obj->trash_srl = $oTrashVO->getTrashSrl();
$obj->module_srl = $oComment->get('module_srl');