From eb66ecd4ca824c47216d05da40fe82693a0ef1a4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 15 Dec 2010 00:02:55 +0000 Subject: [PATCH] Fix: Restore stable version for 3.0 --- .../propal/class/actions_proposal.class.php | 49 --------------- .../contrat/class/actions_contract.class.php | 60 ------------------- 2 files changed, 109 deletions(-) delete mode 100644 htdocs/comm/propal/class/actions_proposal.class.php delete mode 100644 htdocs/contrat/class/actions_contract.class.php diff --git a/htdocs/comm/propal/class/actions_proposal.class.php b/htdocs/comm/propal/class/actions_proposal.class.php deleted file mode 100644 index 061b14c6a38..00000000000 --- a/htdocs/comm/propal/class/actions_proposal.class.php +++ /dev/null @@ -1,49 +0,0 @@ - - * - * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -/** - * \file htdocs/comm/propal/actions_proposal.class.php - * \ingroup proposal - * \brief Fichier de la classe des actions des propales - * \version $Id$ - */ - -require_once(DOL_DOCUMENT_ROOT ."/core/class/actions_commonobject.class.php"); -require_once(DOL_DOCUMENT_ROOT.'/comm/propal/class/propal.class.php'); - -/** - * \class ActionsProposal - * \brief Classe permettant la gestion des actions des propales - */ -class ActionsProposal extends ActionsCommonObject -{ - var $db; - var $object; - - /** - * Constructeur de la classe - * @param DB Handler acces base de donnees - */ - function ActionsProposal($DB) - { - $this->db = $DB; - } - -} - -?> \ No newline at end of file diff --git a/htdocs/contrat/class/actions_contract.class.php b/htdocs/contrat/class/actions_contract.class.php deleted file mode 100644 index 52ee14b3e83..00000000000 --- a/htdocs/contrat/class/actions_contract.class.php +++ /dev/null @@ -1,60 +0,0 @@ - - * - * 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 - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - */ - -/** - * \file htdocs/contrat/class/actions_contract.class.php - * \ingroup contract - * \brief Fichier de la classe des actions des contrats - * \version $Id$ - */ - -require_once(DOL_DOCUMENT_ROOT ."/core/class/actions_commonobject.class.php"); -require_once(DOL_DOCUMENT_ROOT.'/contrat/class/contrat.class.php'); - -/** - * \class ActionsContract - * \brief Classe permettant la gestion des actions des contrats - */ -class ActionsContract extends ActionsCommonObject -{ - var $db; - var $object; - - /** - * Constructeur de la classe - * @param DB Handler acces base de donnees - */ - function ActionsContract($DB) - { - $this->db = $DB; - } - - /** - * Load a contract from database - * @param id Id of contract to load - * @return int <0 if KO, id of contract if OK - */ - function fetch($rowid,$ref='') - { - $this->object = new Contrat($this->db); - return $this->object->fetch($rowid,$ref); - } - -} - -?> \ No newline at end of file