diff --git a/checkin_notes b/checkin_notes index ee426dce3a..48bed58b5d 100644 --- a/checkin_notes +++ b/checkin_notes @@ -2373,13 +2373,13 @@ Rom 1 Apr 2010 AdvancedFrame.cpp David 1 Apr 2010 - - manager: fixed one last (hopefully) instance of == applied to - a char[] formerly std::string + - manager: fixed one last (hopefully) instance of == applied to + a char[] formerly std::string - clientgui/ - AsyncRPC.cpp - sg_ProjectComponents.cpp - ViewStatisticts.cpp + clientgui/ + AsyncRPC.cpp + sg_ProjectComponents.cpp + ViewStatisticts.cpp David 1 Apr 2010 - scheduler: choose cuda_fermi over other cuda plan classes @@ -2396,10 +2396,10 @@ David 1 Apr 2010 credit.cpp David 1 Apr 2010 - - manager: change text for notice-frequency slider + - manager: change text for notice-frequency slider - clientgui/ - DlgOptions.cpp + clientgui/ + DlgOptions.cpp David 2 Apr 2010 - backend programs: change the way PFC and elapsed-time statistics @@ -2511,3 +2511,9 @@ David 5 Apr 2010 sched/ credit.cpp,h validator.cpp + +David 5 Apr 2010 + - server: fix messed-up app version stats export + + html/user/ + app_versions.php diff --git a/html/user/app_versions.php b/html/user/app_versions.php index 0b9a3e661f..a22429cd6f 100644 --- a/html/user/app_versions.php +++ b/html/user/app_versions.php @@ -21,36 +21,16 @@ require_once("../inc/boinc_db.inc"); require_once("../inc/xml.inc"); -function prune($avs) { - $out = array(); - foreach($avs as $av) { - $found = false; - foreach ($out as $av2) { - if ($av->appid == $av2->appid - && $av->plan_class == $av2->plan_class - && $av->version_num > $av2->version_num - ) { - $found = true; - break; - } - } - if (!$found) { - $out[] = $av; - } - } - return $out; -} - BoincDb::get(true); xml_header(); echo "\n"; -$app_versions = BoincAppVersion::enum("deprecated=0"); -$app_versions = prune($app_versions); +$app_versions = BoincAppVersion::enum("deprecated=0 and pfc_n>0"); foreach ($app_versions as $av) { $platform = BoincPlatform::lookup_id($av->platformid); $app = BoincApp::lookup_id($av->appid); echo " + $av->id $av->create_time $platform->name $app->name