Add Account#unavailable?
and Account#permanently_unavailable?
aliases (#28053)
This commit is contained in:
parent
35deaaf90b
commit
963354978a
25 changed files with 57 additions and 58 deletions
|
@ -250,7 +250,7 @@ class User < ApplicationRecord
|
|||
end
|
||||
|
||||
def functional_or_moved?
|
||||
confirmed? && approved? && !disabled? && !account.suspended? && !account.memorial?
|
||||
confirmed? && approved? && !disabled? && !account.unavailable? && !account.memorial?
|
||||
end
|
||||
|
||||
def unconfirmed?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue