0
0
Fork 0

Remove setting that disables account deletes (#17683)

This commit is contained in:
Eugen Rochko 2022-10-06 10:16:47 +02:00 committed by GitHub
parent 62782babd0
commit 93f340a4bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 6 additions and 39 deletions

View file

@ -87,10 +87,6 @@ module ApplicationHelper
link_to label, omniauth_authorize_path(:user, provider), class: "button button-#{provider}", method: :post
end
def open_deletion?
Setting.open_deletion
end
def locale_direction
if RTL_LOCALES.include?(I18n.locale)
'rtl'