Skip to content

Infraction is not deleted when deleting a warning #60

@Sheldan

Description

@Sheldan

General Troubleshooting

  • I have checked for similar issues on the Issue-tracker.
  • I have updated to the latest version
  • I have checked the branches or the maintainers' PRs for upcoming bug fixes.

Description

When deleting a warning via deleteWarning, the infraction is not deleted, while it should be.

Steps to reproduce

Create a warning, this also creates an infraction
Delete the warning with deleteWarning

Expected behaviour

The infraction should also be deleted

Actual behaviour

The infraction remains

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmoderationRelated to moderation functionality

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions