Skip to content

Conversation

@stevenrombauts
Copy link
Contributor

This PR stops creating VersionDeleted audit records if the versions are being removed because the we're deleting the package.

It just moves the creation of the record from VersionListener::preRemove to VersionRepository::remove()


$em->remove($version);

if ($createAuditRecord) {
Copy link
Contributor

@94noni 94noni Dec 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not always ? (ie why the $createAuditRecord)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest reading the description of the PR.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Roger that ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants