Use Dossier::connect (singleton) instead of new Databass(dossier_id)
This commit is contained in:
parent
19e6e8ca6d
commit
8fc56e3ef4
87 changed files with 105 additions and 149 deletions
|
|
@ -84,7 +84,7 @@ global $g_user, $cn,$g_parameter;
|
|||
|
||||
|
||||
|
||||
$cn = new Database(Dossier::id());
|
||||
$cn = Dossier::connect();
|
||||
|
||||
/*
|
||||
* check that the database is not empty
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue