FIXME: class commonagenda not exist
This commit is contained in:
parent
3e5e301725
commit
f056ca3a41
@ -1,8 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2006-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2011 Anthony Hebert <ahebert@teclib.com>
|
||||||
* Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2012 Regis Houssin <regis@dolibarr.fr>
|
||||||
* Copyright (C) 2010 Juanjo Menent <jmenent@2byte.es>
|
* Copyright (C) 2012 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2011 Anthony Hebert <ahebert@teclib.com>
|
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -22,7 +21,6 @@
|
|||||||
* \file holidayagenda.class.php
|
* \file holidayagenda.class.php
|
||||||
* \ingroup holiday
|
* \ingroup holiday
|
||||||
* \brief Fichier d'agenda pour le module Congés Payés
|
* \brief Fichier d'agenda pour le module Congés Payés
|
||||||
* \version $Id: holidayagenda.class.php,v 1.00 2011/09/15 11:00:00 ahebert Exp $
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
@ -31,11 +29,12 @@
|
|||||||
* \brief Classe mere pour heritage des classes Agenda
|
* \brief Classe mere pour heritage des classes Agenda
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once(DOL_DOCUMENT_ROOT."/core/class/commonagenda.class.php");
|
// FIXME this class not exist
|
||||||
require_once(DOL_DOCUMENT_ROOT."/projet/class/task.class.php");
|
//require_once DOL_DOCUMENT_ROOT.'/core/class/commonagenda.class.php';
|
||||||
|
require_once DOL_DOCUMENT_ROOT.'/projet/class/task.class.php';
|
||||||
|
|
||||||
|
|
||||||
class HolidayAgenda extends CommonAgenda
|
class HolidayAgenda// extends CommonAgenda
|
||||||
{
|
{
|
||||||
var $db;
|
var $db;
|
||||||
|
|
||||||
@ -49,12 +48,13 @@ class HolidayAgenda extends CommonAgenda
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructeur de la classe
|
* Constructor
|
||||||
* @param DB Handler acces base de donnees
|
*
|
||||||
|
* @param DoliDB $db Database access handler
|
||||||
*/
|
*/
|
||||||
function construct($DB)
|
function construct($db)
|
||||||
{
|
{
|
||||||
$this->db = $DB;
|
$this->db = $db;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user