mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-16 17:57:43 +00:00
Merge pull request #3231 from sleuthkit/acct_refactor
revert to old way of rejecting
This commit is contained in:
commit
d3b421d84c
@ -1428,15 +1428,7 @@ final public class Accounts implements AutopsyVisitableItem {
|
||||
final Collection<? extends BlackboardArtifact> artifacts = Utilities.actionsGlobalContext().lookupAll(BlackboardArtifact.class);
|
||||
artifacts.forEach(artifact -> {
|
||||
try {
|
||||
AccountFileInstance accountInstance = skCase.getCommunicationsManager().getAccountFileInstance(artifact);
|
||||
|
||||
if (BlackboardArtifact.ReviewStatus.APPROVED == newStatus) {
|
||||
accountInstance.approveAccount();
|
||||
}
|
||||
else {
|
||||
accountInstance.rejectAccount();
|
||||
}
|
||||
|
||||
skCase.setReviewStatus(artifact, newStatus);
|
||||
} catch (TskCoreException ex) {
|
||||
LOGGER.log(Level.SEVERE, "Error changing artifact review status.", ex); //NON-NLS
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user