No more need to rename constructor method

This commit is contained in:
Laurent Destailleur 2012-02-26 13:32:39 +01:00
parent 9270e4603b
commit 8c09d4dcbb

View File

@ -51,7 +51,7 @@ class Skeleton_Class // extends CommonObject
* *
* @param DoliDb $db Database handler * @param DoliDb $db Database handler
*/ */
function Skeleton_Class($db) function __construct($db)
{ {
$this->db = $db; $this->db = $db;
return 1; return 1;