bug 1391: removed insert of administrative increase entry for normal assurance

This commit is contained in:
INOPIAE 2015-07-22 21:37:16 +02:00
parent e3611f709b
commit 5a03b6f6f2

View file

@ -297,18 +297,6 @@ class Default_Model_User {
$this->db->insert('notary', $assurance); $this->db->insert('notary', $assurance);
$assuree->points += $rounddown; $assuree->points += $rounddown;
$assuree->fixAssurerFlag(); $assuree->fixAssurerFlag();
if ($this->getPoints() < 150) {
$addpoints = 0;
if ($this->getPoints() < 149 && $this->getPoints() >= 100) {
$addpoints = 2;
} elseif ($this->getPoints() === 149) {
$addpoints = 1;
}
$this->adminIncrease($addpoints, $location, $date);
}
return $rounddown; return $rounddown;
} }