2
0
mirror of https://github.com/slawkens/myaac.git synced 2025-05-15 02:19:21 +02:00

* (internal) replace deprecated PDO_ attributes with PDO::

This commit is contained in:
slawkens 2018-06-01 16:00:56 +02:00
parent b3625dffbc
commit 887c792a76

@ -373,8 +373,7 @@ class POT
$this->db = new OTS_DB_MySQL($params); $this->db = new OTS_DB_MySQL($params);
$this->db->setAttribute(PDO_ATTR_ERRMODE, PDO_ERRMODE_EXCEPTION); $this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
// $this->db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} }
/** /**