mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Move alias to below relevant method
This commit is contained in:
parent
bead407097
commit
2edc56a247
1 changed files with 1 additions and 1 deletions
|
@ -16,11 +16,11 @@ module Account::Suspensions
|
||||||
def suspended_permanently?
|
def suspended_permanently?
|
||||||
suspended? && deletion_request.nil?
|
suspended? && deletion_request.nil?
|
||||||
end
|
end
|
||||||
|
alias permanently_unavailable? suspended_permanently?
|
||||||
|
|
||||||
def suspended_temporarily?
|
def suspended_temporarily?
|
||||||
suspended? && deletion_request.present?
|
suspended? && deletion_request.present?
|
||||||
end
|
end
|
||||||
alias permanently_unavailable? suspended_permanently?
|
|
||||||
|
|
||||||
def suspend!(date: Time.now.utc, origin: :local, block_email: true)
|
def suspend!(date: Time.now.utc, origin: :local, block_email: true)
|
||||||
transaction do
|
transaction do
|
||||||
|
|
Loading…
Reference in a new issue