diff --git a/library/Metier/Scores/MScores.php b/library/Metier/Scores/MScores.php index 1be5c16c..f43cd23f 100644 --- a/library/Metier/Scores/MScores.php +++ b/library/Metier/Scores/MScores.php @@ -2130,8 +2130,7 @@ function calculIndiScore($siren, $nic=0, $accesDist=false, $cycleClient=2, $mail $tabIdentite['DateCreaEn'], $tabIdentite['DateCreaEt'], '', - $RECME, - $iDb + $RECME ); $noteStructure=$isolv->getSolvabilite(); $timer['solv']=microtime(true); diff --git a/library/Metier/Scores/MSolvabilite.php b/library/Metier/Scores/MSolvabilite.php index d38ec596..f7ad275d 100644 --- a/library/Metier/Scores/MSolvabilite.php +++ b/library/Metier/Scores/MSolvabilite.php @@ -1,7 +1,6 @@ iDb = new Metier_Util_Db(); - } else { - $this->iDb = $db; - } - $this->naf=$naf; $this->trEff=$trancheEff; if ($this->trEff=='NN' || $this->trEff=='00' || ($this->trEff*1)==0) { diff --git a/library/Metier/Scoring/Base.php b/library/Metier/Scoring/Base.php index 84a81f01..abf295a0 100644 --- a/library/Metier/Scoring/Base.php +++ b/library/Metier/Scoring/Base.php @@ -2073,9 +2073,7 @@ class Metier_Scoring_Base extends Metier_Scoring_Vars $tabIdentite['DateCreaEn'], $tabIdentite['DateCreaEt'], '', - $this->RECME, - $this->db - ); + $this->RECME); $noteStructure = $isolv->getSolvabilite(); $timer['solv'] = microtime(true);