Skip to content

Commit

Permalink
Fix not to create unnecessary dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Sep 3, 2022
1 parent 03fb871 commit d760814
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions authentic-funcs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -891,16 +891,16 @@ sub init_prefail
!defined(&setvar) ||

# Affects upgrades from before 1.995
!defined(&webmin_user_can_rpc) ||
!defined(&webmin_user_can_rpc) ||
!defined(&webmin_user_is_admin) ||

# Affects upgrades from before 2.000
!defined(&get_webmin_full_version))
(get_webmin_version() >= 2 && !defined(&get_webmin_full_version)))
{
load_theme_library();
do("$root_directory/web-lib-funcs.pl");
setvar('needs-restart', has_command('systemctl') || $config_directory)
if (defined(&setvar));
if (defined(&setvar));
}
}

Expand Down

0 comments on commit d760814

Please sign in to comment.