Do not remove ratings, just prevent them from being displayed in the best/worst list.
This commit is contained in:
parent
c0a9358bcf
commit
f2b7762ddd
1 changed files with 0 additions and 10 deletions
|
|
@ -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 --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue