From 2edc56a2472fe098104820017a958d668190ea22 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 4 Jan 2024 11:23:15 -0500 Subject: [PATCH] Move alias to below relevant method --- app/models/concerns/account/suspensions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/account/suspensions.rb b/app/models/concerns/account/suspensions.rb index ae993b82df8..f44999bcca3 100644 --- a/app/models/concerns/account/suspensions.rb +++ b/app/models/concerns/account/suspensions.rb @@ -16,11 +16,11 @@ module Account::Suspensions def suspended_permanently? suspended? && deletion_request.nil? end + alias permanently_unavailable? suspended_permanently? def suspended_temporarily? suspended? && deletion_request.present? end - alias permanently_unavailable? suspended_permanently? def suspend!(date: Time.now.utc, origin: :local, block_email: true) transaction do