mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
statistics2.cgi: do not count definitions for configDB
git-svn-id: https://svn.fhem.de/fhem/trunk@14792 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c609447331
commit
46dc00473a
@ -222,7 +222,11 @@ sub doAggregate() {
|
||||
|
||||
foreach my $type (sort @keys) {
|
||||
next if $type eq 'system';
|
||||
$countAll{'modules'}{$type}{'definitions'} += $decoded->{$type}{'noModel'} ? $decoded->{$type}{'noModel'} : 0;
|
||||
if(lc($type) eq 'configdb') {
|
||||
$countAll{'modules'}{$tyoe}{'definitions'} = 0;
|
||||
next;
|
||||
}
|
||||
$countAll{'modules'}{$type}{'definitions'} += $decoded->{$type}{'noModel'} ? $decoded->{$type}{'noModel'} : 0;
|
||||
$countAll{'modules'}{$type}{'installations'} += 1;
|
||||
while ( my ($model, $count) = each( %{$decoded->{$type}}) ) {
|
||||
next if($model eq "noModel");
|
||||
|
Loading…
x
Reference in New Issue
Block a user