From cf5d15173ed5b16c232e11f237f7bdc7e0e62b9b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andreas=20=C3=85kre=20Solberg?= <andreas.solberg@uninett.no>
Date: Mon, 15 Jun 2009 07:36:18 +0000
Subject: [PATCH] Removed uncompleted statrule, and changed default rule to
 sso.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1515 44740490-163a-0410-bde0-09ae8108e29a
---
 .../config-templates/module_statistics.php    | 30 ++++++++++---------
 1 file changed, 16 insertions(+), 14 deletions(-)

diff --git a/modules/statistics/config-templates/module_statistics.php b/modules/statistics/config-templates/module_statistics.php
index f3482a3c2..4c4d8544c 100644
--- a/modules/statistics/config-templates/module_statistics.php
+++ b/modules/statistics/config-templates/module_statistics.php
@@ -9,7 +9,7 @@ $config = array (
 	'auth' => 'admin',
 	'useridattr' => 'eduPersonPrincipalName',
 	
-	'default' => 'sso_hoursweek',
+	'default' => 'sso',
 	
 	'allowedUsers' => array(
 		'admin'
@@ -142,19 +142,19 @@ $config = array (
 		),
 	),
 	'statrules' => array(
-		'sloratio' => array(
-			'name' 		=> 'SSO to SLO ratio',
-			'descr'		=> 'ratio',
-		
-			'type' => 'ratio',
-			
-			'action' 	=> 'saml20-idp-SSO',
-			'col'		=> 6,				// Service Provider EntityID
-			'fieldPresentation' => array(
-				'class' => 'statistics:Entity',
-				'config' => 'saml20-sp-remote',
-			),
-		),
+// 		'sloratio' => array(
+// 			'name' 		=> 'SSO to SLO ratio',
+// 			'descr'		=> 'ratio',
+// 		
+// 			'type' => 'ratio',
+// 			
+// 			'action' 	=> 'saml20-idp-SSO',
+// 			'col'		=> 6,				// Service Provider EntityID
+// 			'fieldPresentation' => array(
+// 				'class' => 'statistics:Entity',
+// 				'config' => 'saml20-sp-remote',
+// 			),
+// 		),
 		'sso' => array(
 			'name' 		=> 'SSO to service',
 			'descr'		=> 'The number of logins at a Service Provider.',
@@ -225,6 +225,8 @@ $config = array (
 				'config' => 'saml20-sp-remote',
 			),
 		),
+		
+	),
 
 );
 
-- 
GitLab