2
2
mirror of https://github.com/mastodon/mastodon synced 2025-04-12 00:56:38 +02:00

Remove unused User#inactive_message method ()

This commit is contained in:
Matt Jankowski 2024-09-03 04:04:00 -04:00 committed by GitHub
parent 406b8211f5
commit 48379e62e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -246,10 +246,6 @@ class User < ApplicationRecord
unconfirmed? || pending?
end
def inactive_message
approved? ? super : :pending
end
def approve!
return if approved?