rename `BangtagHelper` to `ModerationHelper`
parent
60179e53ea
commit
a2b9ac9a48
|
@ -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)
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue