Fix to skip Webmin notifications as can be added later

This commit is contained in:
iliajie
2023-03-03 02:03:44 +02:00
parent 7932c08507
commit 6ca851c49a

View File

@@ -12194,7 +12194,7 @@ foreach my $m (&get_all_module_infos()) {
push(@rv, $i);
}
}
if (&foreign_available("webmin")) {
if (!grep(/^webmin$/, @{$modskip}) && &foreign_available("webmin")) {
# Merge in old-style notification API
&foreign_require("webmin");
foreach my $n (&webmin::get_webmin_notifications()) {