]> git.proxmox.com Git - pmg-api.git/blobdiff - PMG/API2/Quarantine.pm
PMG::API2::quarantine->virusstatus() - remove avgspam from result hash
[pmg-api.git] / PMG / API2 / Quarantine.pm
index d45f8141a4824d831478152fcb2cccc740b6a951..990d5a55481f7a6aee9afa32649c320787bab2f3 100644 (file)
@@ -749,6 +749,8 @@ __PACKAGE__->register_method ({
        my $dbh = PMG::DBTools::open_ruledb();
        my $ref = PMG::DBTools::get_quarantine_count($dbh, 'V');
 
+       delete $ref->{avgspam};
+       
        return $ref;
     }});