rename `BangtagHelper` to `ModerationHelper`

staging
multiple creatures 2019-08-03 06:30:54 -05:00
parent 60179e53ea
commit a2b9ac9a48
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
module BangtagHelper module ModerationHelper
include LogHelper include LogHelper
POLICIES = %w(silence unsilence suspend unsuspend force_unlisted allow_public force_sensitive allow_nonsensitive reset) POLICIES = %w(silence unsilence suspend unsuspend force_unlisted allow_public force_sensitive allow_nonsensitive reset)

View File

@ -1,7 +1,7 @@
# frozen_string_literal: true # frozen_string_literal: true
class Bangtags class Bangtags
include BangtagHelper include ModerationHelper
attr_reader :status, :account attr_reader :status, :account
def initialize(status) def initialize(status)

View File

@ -3,7 +3,7 @@
class Scheduler::JanitorScheduler class Scheduler::JanitorScheduler
include Sidekiq::Worker include Sidekiq::Worker
include BlocklistHelper include BlocklistHelper
include BangtagHelper include ModerationHelper
MIN_POSTS = 6 MIN_POSTS = 6