From c867f4b7e99f711a26a9b60f1a0a3c07780416d1 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 23 Jan 2017 13:52:27 +0100 Subject: [PATCH] Modification empreinte MSolvabilite --- library/Metier/Scores/MScores.php | 3 +-- library/Metier/Scores/MSolvabilite.php | 9 +-------- library/Metier/Scoring/Base.php | 4 +--- 3 files changed, 3 insertions(+), 13 deletions(-) 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);