diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2021-12-06 05:33:30 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2022-01-03 02:28:08 -0500 |
commit | 86c2d3093686c4f945086c90af9b8a7900925b6b (patch) | |
tree | 3848ed86ba0ec57d7319b84bbf320d1191af3d62 /src/configfile.c | |
parent | 1334dd4ad52f8685948066af4798446af6b3e2da (diff) | |
download | lighttpd-git-86c2d3093686c4f945086c90af9b8a7900925b6b.tar.gz |
[multiple] remove long-deprecated modules
x-ref:
https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
Diffstat (limited to 'src/configfile.c')
-rw-r--r-- | src/configfile.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/configfile.c b/src/configfile.c index 033f2c46..27e985ef 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -364,7 +364,6 @@ static void config_compat_module_load (server *srv) { int append_mod_staticfile = 1; int append_mod_authn_file = 1; int append_mod_authn_ldap = 1; - int append_mod_authn_mysql = 1; int append_mod_openssl = 1; int contains_mod_auth = 0; int prepend_mod_auth = 0; @@ -407,8 +406,6 @@ static void config_compat_module_load (server *srv) { append_mod_authn_file = 0; else if (buffer_eq_slen(m, CONST_STR_LEN("mod_authn_ldap"))) append_mod_authn_ldap = 0; - else if (buffer_eq_slen(m, CONST_STR_LEN("mod_authn_mysql"))) - append_mod_authn_mysql = 0; } else if (0 == strncmp(m->ptr, "mod_vhostdb", sizeof("mod_vhostdb")-1)) { if (buffer_eq_slen(m, CONST_STR_LEN("mod_vhostdb"))) @@ -479,13 +476,6 @@ static void config_compat_module_load (server *srv) { config_warn_authn_module(srv, CONST_STR_LEN("ldap"), "ldap"); #endif } - if (append_mod_authn_mysql) { - #if defined(HAVE_MYSQL) - if (config_has_opt_and_value(srv, CONST_STR_LEN("auth.backend"), - CONST_STR_LEN("mysql"))) - config_warn_authn_module(srv, CONST_STR_LEN("mysql"), "mysql"); - #endif - } } if (prepend_mod_auth) { |