Merge pull request #5791 from yanokwa/patch-1

Correct spelling errors
This commit is contained in:
Jeff Atwood 2018-04-26 13:02:55 -07:00 committed by GitHub
commit 00a0a9ac52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
## These tasks are destructive and are for clearing out all the ## These tasks are destructive and are for clearing out all the
# content and users from your site, but keeping your site settings, # content and users from your site, but keeping your site settings,
# theme, and category structrue. # theme, and category structure.
desc "Remove all topics in a category" desc "Remove all topics in a category"
task "destroy:topics", [:category] => :environment do |t, args| task "destroy:topics", [:category] => :environment do |t, args|
category = args[:category] category = args[:category]
@ -32,7 +32,7 @@ task "destroy:users" => :environment do
puts log = DestroyTask.destroy_users puts log = DestroyTask.destroy_users
end end
desc "Destory site stats" desc "Destroy site stats"
task "destroy:stats" => :environment do task "destroy:stats" => :environment do
puts "Going to delete all site stats..." puts "Going to delete all site stats..."
DestroyTask.destroy_stats DestroyTask.destroy_stats