Skip to content

Commit

Permalink
Apply Rubocop Style/EmptyElse (mastodon#23449)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Feb 8, 2023
1 parent f68bb52 commit 26ac244
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/serializers/rest/instance_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ def registrations_enabled?
def registrations_message
if Setting.closed_registrations_message.present?
markdown.render(Setting.closed_registrations_message)
else
nil
end
end

Expand Down

0 comments on commit 26ac244

Please sign in to comment.