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
|
|
@ -38,7 +38,7 @@ class Html_Table
|
|||
@code
|
||||
static function test_me()
|
||||
{
|
||||
$cn=new Database(Dossier::id());
|
||||
$cn=Dossier::connect();
|
||||
$order=" order by f_id desc ";
|
||||
$url=HtmlInput::get_to_string(array("gDossier","test_select"));
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ class Html_Table
|
|||
}
|
||||
static function test_me()
|
||||
{
|
||||
$cn=new Database(Dossier::id());
|
||||
$cn=Dossier::connect();
|
||||
$order=" order by f_id desc ";
|
||||
$url=HtmlInput::get_to_string(array("gDossier","test_select"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue