From 9eead752adec64946d0b5e715835ca9c41dac957 Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Wed, 14 Oct 2020 17:36:30 +0200 Subject: [PATCH] change google suite --- apps/google/gsuite/mode/applications.pm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/apps/google/gsuite/mode/applications.pm b/apps/google/gsuite/mode/applications.pm index c593e299b..e1c83fe6e 100644 --- a/apps/google/gsuite/mode/applications.pm +++ b/apps/google/gsuite/mode/applications.pm @@ -126,15 +126,9 @@ sub manage_selection { }; }; - $self->{global}->{issues} = 0; foreach my $issue (@{$results->{messages}}) { next if (!defined($self->{gapps}->{ $issue->{service} })); - next if ( - (!defined($self->{option_results}->{display_extra})) - && $self->{gapps}->{ $issue->{service} } != 0 - ); - next if ($issue->{resolved}); $self->{gapps}->{ $issue->{service} } = { @@ -147,7 +141,7 @@ sub manage_selection { }; } - $self->{global}->{apps} = scalar(keys %{$self->{gapps}}); + $self->{global} = { apps => scalar(keys %{$self->{gapps}}) }; } 1;