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
|
|
@ -202,7 +202,7 @@ class Anc_Plan
|
|||
}
|
||||
static function test_me()
|
||||
{
|
||||
$cn=new Database(dossier::id());
|
||||
$cn=Dossier::connect();
|
||||
echo "<h1>Plan analytique : test</h1>";
|
||||
echo "clean";
|
||||
$cn->exec_sql("delete from plan_analytique");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue