From af868621a9a9820b529a5b9c1a226c2ea96582e5 Mon Sep 17 00:00:00 2001 From: Damien GUILLEM Date: Wed, 22 Apr 2015 11:58:24 +0200 Subject: [PATCH] * Fix Database class problems : double query execution in "deleteContactsIn()" and "getUserFromEmail()" --- model/DataBase.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/model/DataBase.php b/model/DataBase.php index c6d274a..9f0385b 100755 --- a/model/DataBase.php +++ b/model/DataBase.php @@ -212,9 +212,6 @@ $query .= $generted_in['QUERY']; $params = $generted_in['PARAMS']; - $req = $this->bdd->prepare($query); - $req->execute($params); - return $this->runQuery($query, $params, self::ROWCOUNT); } @@ -1053,9 +1050,6 @@ 'email' => $email ); - $req = $this->bdd->prepare($query); - $req->execute($params); - return $this->runQuery($query, $params, self::FETCH); }