Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
lbr38 committed Dec 8, 2024
1 parent f65fee9 commit e50f982
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions www/models/Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@ abstract class Model
{
protected $db;

/**
* Nouvelle connexion à la base de données
*/
// public function __construct()
// {
// $this->db = new Connection();
// }

public function getConnection(string $database)
{
$this->db = new Connection($database);
Expand Down

0 comments on commit e50f982

Please sign in to comment.