Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove custom emojis on "tootctl domains purge" #10721

Merged
merged 2 commits into from
May 9, 2019
Merged

Remove custom emojis on "tootctl domains purge" #10721

merged 2 commits into from
May 9, 2019

Conversation

tribela
Copy link
Contributor

@tribela tribela commented May 7, 2019

There is no reason to leaving custom emojis from purged instance.
Additionally, DomainBlock should not be removed on dry run


say
say("Removed #{removed} accounts#{dry_run}", :green)

custom_emojis = CustomEmoji.where(domain: domain)
say("Removing #{custom_emojis.count} custom emojis", :green)
Copy link
Member

Choose a reason for hiding this comment

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

The text above says "Removed x items" but this text says "Removing x items", I think it should be consistent?

@Gargron Gargron merged commit 03801fc into mastodon:master May 9, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Remove custom emojis on domains purge

* Change message "Removing" to "Removed"
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Remove custom emojis on domains purge

* Change message "Removing" to "Removed"
messenjahofchrist pushed a commit to Origin-Creative/mastodon that referenced this pull request Jul 30, 2021
* Remove custom emojis on domains purge

* Change message "Removing" to "Removed"
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.

3 participants