mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
* (internal) replace deprecated PDO_ attributes with PDO::
This commit is contained in:
@@ -373,8 +373,7 @@ class POT
|
||||
|
||||
$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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user