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