Ajout commentaires

This commit is contained in:
Rodolphe Quiedeville 2003-11-19 14:40:44 +00:00
parent 3ea93e737a
commit 8e1d081406

View File

@ -299,16 +299,16 @@ class User
if ($module == 'expedition' or $module == '') if ($module == 'expedition' or $module == '')
{ {
if ($obj->fk_id == 81) if ($obj->fk_id == 101)
$this->rights->expedition->lire = 1; $this->rights->expedition->lire = 1;
if ($obj->fk_id == 82) if ($obj->fk_id == 102)
$this->rights->expedition->creer = 1; $this->rights->expedition->creer = 1;
if ($obj->fk_id == 84) if ($obj->fk_id == 104)
$this->rights->expedition->valider = 1; $this->rights->expedition->valider = 1;
if ($obj->fk_id == 89) if ($obj->fk_id == 109)
$this->rights->expedition->supprimer = 1; $this->rights->expedition->supprimer = 1;
} }
@ -445,8 +445,8 @@ class User
} }
} }
/* /**
* * Créé l'utilisateur
* *
*/ */
Function create() Function create()
@ -487,7 +487,7 @@ class User
print $this->db->error(); print $this->db->error();
} }
} }
/* /**
* *
* *
*/ */
@ -543,8 +543,8 @@ class User
} }
} }
/* /**
* * Affectation des permissions par défaut
* *
*/ */
Function set_default_rights() Function set_default_rights()
@ -575,9 +575,8 @@ class User
$i++; $i++;
} }
} }
/**
/* * Mise à jour
*
* *
*/ */
Function update() Function update()