Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rearrange the order of operations for deleting a user, such that the …
…user's posts are retrieved, the user is deleted, and then the posts will be deleted. Add a check to the undelete plugin to make sure user_id exists; posts will be deleted as usual if user_id doesn't (as it wouldn't now that users are deleted before posts). This probably isn't ideal, but it should close habari/habari#253.
- Loading branch information
Showing
2 changed files
with
3 additions
and
2 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