Skip to content

Commit

Permalink
Fix to add a new API sub to init prefail
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Oct 9, 2023
1 parent ab22d6b commit 5ccae2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions authentic-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,9 @@ sub init_prefail
return if (get_product_name() eq 'usermin');
my $pversion = get_webmin_version();
if (
# Affects upgrades 2.103 and up
(!defined(&ui_switch_theme_javascript) && $pversion >= 2.103) ||

# Affects upgrades 2.022 and up
(!defined(&get_http_redirect) && $pversion >= 2.022) ||
(!defined(&create_wrapper) && $pversion >= 2.022) ||
Expand Down

0 comments on commit 5ccae2a

Please sign in to comment.