DEV: Remove deprecated AuthProvider#enabled_setting= (#27081)

AuthProvider#enabled_setting=, used primarily by plugins, has been deprecated since version 2.9, in favour of Authenticator#enabled?. This PR confirms we are seeing no more usage and removes the method.
This commit is contained in:
Ted Johansson
2024-05-20 18:10:15 +08:00
committed by GitHub
parent 9302187ca4
commit 32aaf2e8d3
4 changed files with 0 additions and 72 deletions

View File

@ -17,7 +17,6 @@ class Auth::AuthProvider
frame_height
pretty_name_setting
title_setting
enabled_setting
full_screen_login
full_screen_login_setting
custom_url
@ -28,14 +27,6 @@ class Auth::AuthProvider
attr_accessor(*auth_attributes)
def enabled_setting=(val)
Discourse.deprecate(
"(#{authenticator.name}) enabled_setting is deprecated. Please define authenticator.enabled? instead",
drop_from: "2.9.0",
)
@enabled_setting = val
end
def background_color=(val)
Discourse.deprecate(
"(#{authenticator.name}) background_color is no longer functional. Please use CSS instead",