From cac280ac36d7b2557f7c9291bc96f2d13414c801 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Thu, 24 Jul 2003 11:21:18 +0000 Subject: [PATCH] =?UTF-8?q?Supprime=20la=20d=E9finition=20de=20la=20boite?= =?UTF-8?q?=20propale?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/modules/modPropale.class.php | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/htdocs/includes/modules/modPropale.class.php b/htdocs/includes/modules/modPropale.class.php index 8ad200bd63a..3f905c5d3a0 100644 --- a/htdocs/includes/modules/modPropale.class.php +++ b/htdocs/includes/modules/modPropale.class.php @@ -76,7 +76,15 @@ class modPropale } } } - } + } + + $sql = "INSERT INTO llx_boxes_def (name,file) VALUES('Proposition commerciales', 'box_propales.php');"; + + if ( $this->db->query($sql) ) + { + + } + } /* * @@ -85,6 +93,13 @@ class modPropale Function remove() { + $sql = "DELETE FROM llx_boxes_def WHERE file = 'box_propales.php';"; + + if ( $this->db->query($sql) ) + { + + } + } } ?>