[vhffs-dev] [1141] show only activated groups

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1141
Author:   gradator
Date:     2008-01-26 21:39:33 +0000 (Sat, 26 Jan 2008)

Log Message:
-----------
show only activated groups

Modified Paths:
--------------
    trunk/vhffs-api/src/Vhffs/Panel/Commons.pm


Modified: trunk/vhffs-api/src/Vhffs/Panel/Commons.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Commons.pm	2008-01-26 21:10:22 UTC (rev 1140)
+++ trunk/vhffs-api/src/Vhffs/Panel/Commons.pm	2008-01-26 21:39:33 UTC (rev 1141)
@@ -76,7 +76,7 @@
         use Vhffs::Stats;
         my $stats = new Vhffs::Stats( $vhffs );
         my $users  = $stats->get_user_total;
-        my $groups = $stats->get_groups_total;
+        my $groups = $stats->get_groups_activated;
 
         $template->param( TEXT_STATS => sprintf( gettext( "Woah, %s users and %s groups already trust %s" ) , $users, $groups , $hosturl ) );
     }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/