2010-04-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed call to group stats and now process all groups (included disabled) and group 1, because with 3.1 group id 1 is not "all" anymore. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7664534e8a
commit
dc6cfe108d
|
@ -1,3 +1,9 @@
|
|||
2010-04-28 Sancho Lerena <slerena@artica.es>
|
||||
|
||||
* lib/PandoraFMS/Core.pm: Fixed call to group stats and now
|
||||
process all groups (included disabled) and group 1, because
|
||||
with 3.1 group id 1 is not "all" anymore.
|
||||
|
||||
2010-04-26 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* util/pandora_db.pl: Fixed the purge script. Did not work if
|
||||
|
|
|
@ -1890,7 +1890,7 @@ sub pandora_group_statistics ($$) {
|
|||
my $group = 0;
|
||||
|
||||
# Get all groups
|
||||
my @groups = get_db_rows ($dbh, 'SELECT id_grupo FROM tgrupo WHERE disabled = 0 AND id_grupo > 1');
|
||||
my @groups = get_db_rows ($dbh, 'SELECT id_grupo FROM tgrupo');
|
||||
|
||||
# For each valid group get the stats: Simple uh?
|
||||
foreach my $group_row (@groups) {
|
||||
|
|
Loading…
Reference in New Issue