private function getVoteAmount($reqid, $addedUnix)
{
$sth = $this->db->query("SELECT SUM(krydda), COUNT(*) AS cnt FROM reqvotes WHERE reqid = " . $reqid);
$res = $sth->fetch();
$sum = $res[0];
$sum += $this->getVoteTimeReward($addedUnix);
return array("reward" => $sum, "votes" => $res[1]);
}