From baf361a1f632f246218a99c8b567b32bd59fd989 Mon Sep 17 00:00:00 2001
From: Laurent Giovannoni <laurent.giovannoni@maarch.org>
Date: Tue, 13 Sep 2016 15:55:23 +0000
Subject: [PATCH] FEAT #4578 remove dbquery links

---
 core/trunk/core/class/users_controler.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/trunk/core/class/users_controler.php b/core/trunk/core/class/users_controler.php
index 09f25650e10..63af8cda433 100644
--- a/core/trunk/core/class/users_controler.php
+++ b/core/trunk/core/class/users_controler.php
@@ -98,7 +98,7 @@ class users_controler extends ObjectControler implements ObjectControlerIF
     public function getFirstName($userId)
     {
         $db = new Database();
-        $db->connect();
+        
         $query = "select firstname from " . USERS_TABLE ." WHERE user_id=?";
 
         $result = $db->query($query, array($userId));
-- 
GitLab