Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit 1da2572

Browse files
committed
Remove fuzzy voting
1 parent 45d6356 commit 1da2572

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Mapping.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ public function toArray()
5656
$arr["info"] = $this->info->toArray();
5757
$total = $this->vote_count;
5858

59-
$random_variation = round($total / 10.0);
59+
//$random_variation = round($total / 10.0);
6060

61-
$variation = random_int(-$random_variation, $random_variation);
61+
$variation = 0;//random_int(-$random_variation, $random_variation);
6262
$arr["votes"] += $variation;
6363
$arr["vote_count"] += abs($variation);
6464
return $arr;

0 commit comments

Comments
 (0)