Uniformize code

This commit is contained in:
eldy 2013-02-28 23:49:38 +01:00
parent 1d76b3153e
commit 4e52b2596a

View File

@ -36,10 +36,12 @@ class MenuManager
/** /**
* Constructor * Constructor
* *
* @param DoliDB $db Database handler * @param DoliDB $db Database handler
* @param int $type_user Type of user
*/ */
function __construct($db) function __construct($db, $type_user)
{ {
$this->type_user=$type_user;
$this->db=$db; $this->db=$db;
} }