mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Fix #2245 don't change file state when moving document or comment to trash
This commit is contained in:
parent
031f3bb54d
commit
6486462b73
2 changed files with 4 additions and 0 deletions
|
|
@ -1434,6 +1434,7 @@ class DocumentController extends Document
|
|||
}
|
||||
|
||||
// Set the attachment to be invalid state
|
||||
/*
|
||||
if($oDocument->hasUploadedFiles())
|
||||
{
|
||||
$args = new stdClass();
|
||||
|
|
@ -1441,6 +1442,7 @@ class DocumentController extends Document
|
|||
$args->isvalid = 'N';
|
||||
executeQuery('file.updateFileValid', $args);
|
||||
}
|
||||
*/
|
||||
|
||||
// Call a trigger (after)
|
||||
$obj->trash_srl = $oTrashVO->getTrashSrl();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue