mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
parent
e007c7a99b
commit
6689e572f3
@ -66,6 +66,12 @@ module Mastodon
|
|||||||
say("Imported #{imported}, skipped #{skipped}, failed to import #{failed}", color(imported, skipped, failed))
|
say("Imported #{imported}, skipped #{skipped}, failed to import #{failed}", color(imported, skipped, failed))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
desc 'purge', 'Remove all custom emoji'
|
||||||
|
def purge
|
||||||
|
CustomEmoji.in_batches.destroy_all
|
||||||
|
say('OK', :green)
|
||||||
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
def color(green, _yellow, red)
|
def color(green, _yellow, red)
|
||||||
|
Loading…
Reference in New Issue
Block a user