mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Make fetching of users from LDAP or MySQL faster, by only reading DB entries
that we actually need.
This commit is contained in:
@@ -8,12 +8,6 @@ $access{'pass'} || &error($text{'sql_ecannot'});
|
||||
&error_setup($text{'sql_err'});
|
||||
$p = $in{'proto'};
|
||||
|
||||
if ($in{'schema'}) {
|
||||
# Redirect to schema download page
|
||||
&redirect("schema.cgi");
|
||||
return;
|
||||
}
|
||||
|
||||
# Parse inputs
|
||||
if ($p eq 'mysql' || $p eq 'postgresql' || $p eq 'ldap') {
|
||||
gethostbyname($in{$p."_host"}) ||
|
||||
|
||||
Reference in New Issue
Block a user