-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Rely on core for staff action logs (#176)
Previously, we were deleting the `enable_topic_voting` custom field param and doing the staff logging in this plugin. This has a problem though, it was being done in the model's create/destroy hooks and was missing the acting user (so the logs would report the change as `system`). This PR keeps the custom field param and relies on core to do the staff action logging. This change also results in the custom field being set in the DB when it is enabled even though we don't use it in the serializer.
- Loading branch information
Showing
4 changed files
with
2 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.