Tweak the main loop to avoid unnecessary messages

This commit is contained in:
Manuel Cillero 2020-04-10 20:57:07 +02:00
parent f4bfb0e367
commit c2abe34d22

View file

@ -121,7 +121,6 @@ sub cgiapp_prerun {
CONFIG('DEBUG_MODE' => 0) if !in_array(0, \@user_access);
# 3. Load report:
info($run_mode);
my %ROUTES = %{CONFIG('REF_ROUTES')};
foreach my $menu (sort (%ROUTES)) {
%CURRENT_PACKAGE = __search_run_mode($run_mode, \%{$ROUTES{$menu}{OPTIONS}});