Remove unused `User#inactive_message` method (#31698)
parent
406b8211f5
commit
48379e62e4
|
@ -246,10 +246,6 @@ class User < ApplicationRecord
|
|||
unconfirmed? || pending?
|
||||
end
|
||||
|
||||
def inactive_message
|
||||
approved? ? super : :pending
|
||||
end
|
||||
|
||||
def approve!
|
||||
return if approved?
|
||||
|
||||
|
|
Loading…
Reference in New Issue