diff --git a/includes/ratios/functions.php b/includes/ratios/functions.php index f82ca35ed..100e83e28 100644 --- a/includes/ratios/functions.php +++ b/includes/ratios/functions.php @@ -196,12 +196,9 @@ function dEvol($nAnnee,$nRatio){ * @return int */ function graphPercent($nRatio,$totalRatio){ - global $firephp; global $ratiosEntrep; $ratio = isset($ratiosEntrep[0][$nRatio]) ? $ratiosEntrep[0][$nRatio] : 0; $totalRatio = $ratiosEntrep[0][$totalRatio]; - $firephp->log($totalRatio,'totalRatio'); - if ( ($ratio!='NS' || $ratio!=NULL) && ($totalRatio!=0 || $totalRatio!='NS')){ return $ratio*100/$totalRatio; }else{ @@ -245,13 +242,11 @@ function dPercent($nAnnee,$nRatio,$totalRatio){ * @return string */ function wrapComment($text){ - global $firephp; $fontSize = 2; $blockSize = 500; $newtext = wordwrap($text, $blockSize/$fontSize , "\n"); $newtext = htmlentities($newtext); $newtext = nl2br($newtext); - $firephp->log($newtext, 'newtext'); return $newtext; } ?> \ No newline at end of file