mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-18 04:19:27 +00:00
Remove unused User#inactive_message
method (#31698)
This commit is contained in:
parent
406b8211f5
commit
48379e62e4
|
@ -246,10 +246,6 @@ class User < ApplicationRecord
|
||||||
unconfirmed? || pending?
|
unconfirmed? || pending?
|
||||||
end
|
end
|
||||||
|
|
||||||
def inactive_message
|
|
||||||
approved? ? super : :pending
|
|
||||||
end
|
|
||||||
|
|
||||||
def approve!
|
def approve!
|
||||||
return if approved?
|
return if approved?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue