Commit 82083071 authored by SpinShare's avatar SpinShare

fixed inflation factor a bit based on recent data

parent 94fd1407
...@@ -348,7 +348,7 @@ class ModactionsController extends AbstractController ...@@ -348,7 +348,7 @@ class ModactionsController extends AbstractController
$data = []; $data = [];
$songToFix = $em->getRepository(Song::class)->findOneBy(array('id' => $songId)); $songToFix = $em->getRepository(Song::class)->findOneBy(array('id' => $songId));
$songToFix->setDownloads(ceil($songToFix->getViews() / 3)); $songToFix->setDownloads(ceil($songToFix->getViews() / 2.5));
$em->persist($songToFix); $em->persist($songToFix);
$em->flush(); $em->flush();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment