From 79250cfdc9947dddc12964351f723c9dc9527ef3 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 4 May 2004 20:00:46 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=3331 --- html/inc/db_ops.inc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/html/inc/db_ops.inc b/html/inc/db_ops.inc index 9ce581eb44..9a22b08512 100644 --- a/html/inc/db_ops.inc +++ b/html/inc/db_ops.inc @@ -694,14 +694,6 @@ function validate_state_str($s) { return "Unknown"; } -function client_version_string($client_version_num) { - if (!$client_version_num) { - return '---'; - } else { - return sprintf("%.2f", $client_version_num/100); - } -} - function host_user_link($hostid) { if (!$hostid) return '----'; @@ -795,7 +787,7 @@ function show_result_short($result) { $oc = "$oc ($cs)"; } $received = time_str($result->received_time); - $version = client_version_string($result->client_version_num); + $version = $result->app_version_num; $outcome_color = outcome_color($result->outcome); $host_user = host_user_link($result->hostid); $cpu_hours = sprintf("%.1f",$result->cpu_time / 3600);