Nettoyage

This commit is contained in:
Rodolphe Quiedeville 2007-05-16 14:27:49 +00:00
parent c9f6b6b611
commit af885a7f50

View File

@ -1,5 +1,5 @@
<?php <?php
/* Copyright (C) 2005-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org> /* Copyright (C) 2005-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -25,7 +25,6 @@
*/ */
require ("../../master.inc.php"); require ("../../master.inc.php");
require_once (DOL_DOCUMENT_ROOT."/telephonie/facturetel.class.php");
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/SimpleBar.class.php"); require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/graph/SimpleBar.class.php");
/* /*
@ -57,6 +56,8 @@ class ProcessGraphLignes
{ {
dolibarr_syslog("go $ligne"); dolibarr_syslog("go $ligne");
$this->ligne = $ligne; $this->ligne = $ligne;
/* Lecture des donnees */
$this->GetDatas(); $this->GetDatas();
$error = 0; $error = 0;
@ -75,7 +76,6 @@ class ProcessGraphLignes
$graphx->show_console = 0 ; $graphx->show_console = 0 ;
$graphx->GraphDraw($file, $this->vente, $this->labels); $graphx->GraphDraw($file, $this->vente, $this->labels);
/* Gain */ /* Gain */
$file = $img_root . $ligne."/graphgain.png"; $file = $img_root . $ligne."/graphgain.png";