From d2ee961fe6ce031c328ec4b298f3a0147b2fa028 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 30 Jun 2003 16:29:10 +0000 Subject: [PATCH] =?UTF-8?q?Impl=E9mentation=20de=20la=20suppression?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/societe/notify/fiche.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/societe/notify/fiche.php b/htdocs/societe/notify/fiche.php index 060ceb00058..dfc676c0cc5 100644 --- a/htdocs/societe/notify/fiche.php +++ b/htdocs/societe/notify/fiche.php @@ -55,6 +55,17 @@ if ($HTTP_POST_VARS["action"] == 'add') } } +if ($action == "delete") +{ + $sql = "DELETE FROM llx_notify_def"; + $sql .= " WHERE rowid = $actid"; + + if ($db->query($sql)) + { + // TODO ajouter une sécu pour la suppression + } +} + /* * *