0
0
Fork 0

Apply Rubocop Performance/StringIdentifierArgument (#23444)

This commit is contained in:
Nick Schonning 2023-02-07 20:36:20 -05:00 committed by GitHub
parent 2e652aa81c
commit 203739dd3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -93,7 +93,7 @@ module Mastodon
c.table_name = 'statuses_to_be_deleted'
end
Object.const_set('StatusToBeDeleted', klass)
Object.const_set(:StatusToBeDeleted, klass)
scope = StatusToBeDeleted
processed = 0
@ -175,7 +175,7 @@ module Mastodon
c.table_name = 'conversations_to_be_deleted'
end
Object.const_set('ConversationsToBeDeleted', klass)
Object.const_set(:ConversationsToBeDeleted, klass)
scope = ConversationsToBeDeleted
processed = 0