fix travis error

This commit is contained in:
BENKE Charles 2014-06-20 23:56:03 +02:00
parent 24e780cb0c
commit 496379ced8
3 changed files with 18 additions and 22 deletions

View File

@ -24,7 +24,6 @@
*/ */
include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php'; include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php';
/** /**
* Class to manage the box to show last invoices * Class to manage the box to show last invoices
*/ */
@ -159,4 +158,4 @@ class box_factures extends ModeleBoxes
} }
} }
?>

View File

@ -18,9 +18,7 @@
* \file htdocs/core/boxes/box_activite.php * \file htdocs/core/boxes/box_activite.php
* \ingroup projet * \ingroup projet
* \brief Module to show Projet activity of the current Year * \brief Module to show Projet activity of the current Year
* \version $Id: box_projet.php,v 1.1 2012/09/11 Charles-François BENKE
*/ */
include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php"); include_once(DOL_DOCUMENT_ROOT."/core/boxes/modules_boxes.php");
/** /**
@ -51,11 +49,11 @@ class box_project extends ModeleBoxes
} }
/** /**
* Load data for box to show them later * Load data for box to show them later
* *
* @param int $max Maximum number of records to load * @param int $max Maximum number of records to load
* @return void * @return void
*/ */
function loadBox($max=5) function loadBox($max=5)
{ {
global $conf, $user, $langs, $db; global $conf, $user, $langs, $db;

View File

@ -29,7 +29,6 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php");
*/ */
class box_task extends ModeleBoxes class box_task extends ModeleBoxes
{ {
var $boxcode="projet"; var $boxcode="projet";
var $boximg="object_projecttask"; var $boximg="object_projecttask";
var $boxlabel; var $boxlabel;
@ -41,9 +40,9 @@ class box_task extends ModeleBoxes
var $info_box_contents = array(); var $info_box_contents = array();
/** /**
* \brief Constructeur de la classe * \brief Constructeur de la classe
* @return void * @return void
*/ */
function box_task() function box_task()
{ {
global $langs; global $langs;
@ -52,12 +51,12 @@ class box_task extends ModeleBoxes
$this->boxlabel="Tasks"; $this->boxlabel="Tasks";
} }
/** /**
* Load data for box to show them later * Load data for box to show them later
* *
* @param int $max Maximum number of records to load * @param int $max Maximum number of records to load
* @return void * @return void
*/ */
function loadBox($max=5) function loadBox($max=5)
{ {
global $conf, $user, $langs, $db; global $conf, $user, $langs, $db;