* Fix Database class problems : double query execution in "deleteContactsIn()" and "getUserFromEmail()"
This commit is contained in:
parent
38a331a4db
commit
af868621a9
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue