bug 1391: removed insert of administrative increase entry for normal assurance
authorINOPIAE <inopiae@cacert.org>
Wed, 22 Jul 2015 19:37:16 +0000 (21:37 +0200)
committerINOPIAE <inopiae@cacert.org>
Wed, 22 Jul 2015 19:37:16 +0000 (21:37 +0200)
manager/application/models/User.php

index 1e785f1..3085123 100644 (file)
@@ -297,18 +297,6 @@ class Default_Model_User {
         $this->db->insert('notary', $assurance);
         $assuree->points += $rounddown;
         $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;
     }