Old db ref

This commit is contained in:
Michael RICOIS 2016-11-10 17:11:50 +01:00
parent c5f050e524
commit fe91510c3f

View File

@ -445,8 +445,6 @@ class Metier_Liens_Base
{
$sql = "SELECT isin, nom, MAX(date) AS dateMAJ FROM sdv1.bourse_listes
WHERE lstCode='xcac40p' GROUP BY lstCode, isin HAVING MAX(date) ORDER BY dateMAJ DESC;";
$result = $this->db->query($sql);
$stmt = $this->conn->prepare($sql);
$stmt->execute();
$result = $stmt->fetchAll(\PDO::FETCH_OBJ);