mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 17:06:28 +02:00
* Fix Database class problems : double query execution in "deleteContactsIn()" and "getUserFromEmail()"
This commit is contained in:
parent
38a331a4db
commit
af868621a9
1 changed files with 0 additions and 6 deletions
|
@ -212,9 +212,6 @@
|
||||||
$query .= $generted_in['QUERY'];
|
$query .= $generted_in['QUERY'];
|
||||||
$params = $generted_in['PARAMS'];
|
$params = $generted_in['PARAMS'];
|
||||||
|
|
||||||
$req = $this->bdd->prepare($query);
|
|
||||||
$req->execute($params);
|
|
||||||
|
|
||||||
return $this->runQuery($query, $params, self::ROWCOUNT);
|
return $this->runQuery($query, $params, self::ROWCOUNT);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1053,9 +1050,6 @@
|
||||||
'email' => $email
|
'email' => $email
|
||||||
);
|
);
|
||||||
|
|
||||||
$req = $this->bdd->prepare($query);
|
|
||||||
$req->execute($params);
|
|
||||||
|
|
||||||
return $this->runQuery($query, $params, self::FETCH);
|
return $this->runQuery($query, $params, self::FETCH);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue