From e50f982e553694a789ce07556a36672425c0a4d6 Mon Sep 17 00:00:00 2001 From: Ludovic <54670129+lbr38@users.noreply.github.com> Date: Sun, 8 Dec 2024 16:18:15 +0100 Subject: [PATCH] patch --- www/models/Model.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/www/models/Model.php b/www/models/Model.php index 0d19bbb1..997280b0 100644 --- a/www/models/Model.php +++ b/www/models/Model.php @@ -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);