From 9e29d6cf9f2a59f04bea1ce1da874096a0f6287c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 May 2011 16:20:43 +0000 Subject: [PATCH] Doxygen --- htdocs/product/class/product.class.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index c1348a85acc..c3647d76ac0 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -77,7 +77,7 @@ class Product extends CommonObject //! Stock var $stock_reel; - //! Stock value (PMP) + //! Average price value for product entry into stock (PMP) var $pmp; var $seuil_stock_alerte; @@ -572,7 +572,7 @@ class Product extends CommonObject function delete($id) { global $conf,$user,$langs; - + $error=0; if ($user->rights->produit->supprimer) @@ -2337,8 +2337,8 @@ class Product extends CommonObject } /** - * \brief Load information about stock of a product into stock_warehouse[] and stock_reel - * \return int < 0 si erreur, > 0 si ok + * Load information about stock of a product into stock_warehouse[] and stock_reel + * @return int < 0 si erreur, > 0 si ok */ function load_stock() { @@ -2364,12 +2364,6 @@ class Product extends CommonObject $this->stock_reel+=$row->reel; $i++; } - - $this->no_stock = 0; - } - else - { - $this->no_stock = 1; } $this->db->free($result); return 1;