From fedaa74ce8e2a16470ada625a67c30e2d1051726 Mon Sep 17 00:00:00 2001 From: Andre Cianfarani Date: Thu, 30 Mar 2006 14:24:21 +0000 Subject: [PATCH] debug --- htdocs/categories/categorie.class.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/htdocs/categories/categorie.class.php b/htdocs/categories/categorie.class.php index 062e551801c..b14fdf65865 100644 --- a/htdocs/categories/categorie.class.php +++ b/htdocs/categories/categorie.class.php @@ -153,14 +153,7 @@ class Categorie */ function update() { - $sql = 'delete from '.MAIN_DB_PREFIX.'categorie_association'; - $sql .= ' WHERE fk_categorie_mere = "'.$this->id.'" or fk_categorie_fille = "'.$this->id.'"'; - if (! $this->db->query($sql)) - { - dolibarr_print_error($this->db); - return -1; - } if($this->id_mere !="" && $this->id_mere!=$this->id) {