Code Duplication    Length = 7-7 lines in 2 locations

core/Database.class.php 1 location

@@ 25-31 (lines=7) @@
22
23
24
		//-------------------------- CONSTRUCTEUR ----------------------------------------------------------------------------//
25
		public function __construct($db_type, $db_name, $db_user, $db_pass, $db_host) {
26
			$this->db_type = $db_type;
27
			$this->db_name = $db_name;
28
			$this->db_user = $db_user;
29
			$this->db_pass = $db_pass;
30
			$this->db_host = $db_host;
31
		}
32
		//-------------------------- FIN CONSTRUCTEUR ----------------------------------------------------------------------------//
33
34

core/modules/Database.class.php 1 location

@@ 18-24 (lines=7) @@
15
16
17
		//-------------------------- CONSTRUCTEUR ----------------------------------------------------------------------------//
18
		public function __construct($db_type, $db_name, $db_user, $db_pass, $db_host) {
19
			$this->db_type = $db_type;
20
			$this->db_name = $db_name;
21
			$this->db_user = $db_user;
22
			$this->db_pass = $db_pass;
23
			$this->db_host = $db_host;
24
		}
25
		//-------------------------- FIN CONSTRUCTEUR ----------------------------------------------------------------------------//
26
27