Skip to content

Commit

Permalink
fix: [correlation] exclusion cleaning was broken for noacl correlatio…
Browse files Browse the repository at this point in the history
…ns, fixes MISP#8899
  • Loading branch information
iglocska committed Dec 14, 2023
1 parent 78efee0 commit 1007022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Model/Behavior/DefaultCorrelationBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,6 @@ public function purgeByValue(Model $Model, string $value)
]);
$Model->deleteAll([
'Correlation.value_id' => $valueIds
]);
], false);
}
}
2 changes: 1 addition & 1 deletion app/Model/Behavior/NoAclCorrelationBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,6 @@ public function purgeByValue(Model $Model, string $value)
]);
$Model->deleteAll([
'Correlation.value_id' => $valueIds
]);
], false);
}
}

0 comments on commit 1007022

Please sign in to comment.