From f2b7762dddd635b2cbc8a573eaf1acb041e8ab8b Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 9 Dec 2009 10:39:42 -0800 Subject: [PATCH] Do not remove ratings, just prevent them from being displayed in the best/worst list. --- docs/upgrades/upgrade_7.8.7-7.8.8.pl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/docs/upgrades/upgrade_7.8.7-7.8.8.pl b/docs/upgrades/upgrade_7.8.7-7.8.8.pl index c22044091..6185d5d0e 100644 --- a/docs/upgrades/upgrade_7.8.7-7.8.8.pl +++ b/docs/upgrades/upgrade_7.8.7-7.8.8.pl @@ -32,7 +32,6 @@ my $session = start(); # this line required # upgrade functions go here deleteFieldFromEMSSubmission($session); -tenVoteMinimumForMatrixRatings($session); finish($session); # this line required @@ -61,15 +60,6 @@ ENDSQL print "DONE!\n" unless $quiet; } -#---------------------------------------------------------------------------- -# Describe what our function does -sub tenVoteMinimumForMatrixRatings { - my $session = shift; - print "\tRestrict Matrix Listing Statistics to those with more than 10 ratings..." unless $quiet; - $session->db->write('update MatrixListing_ratingSummary set meanValue=0, medianValue=0 where countValue < 10'); - print "\tDONE!\n" unless $quiet; -} - # -------------- DO NOT EDIT BELOW THIS LINE -------------------------------- #----------------------------------------------------------------------------