diff options
| author | 2016-08-31 21:23:09 +0200 | |
|---|---|---|
| committer | 2016-08-31 21:23:09 +0200 | |
| commit | 0f1bc956d4f301e61618cff2dd5bfcac1532067f (patch) | |
| tree | ff82bcd9ac3ad92ff44771848def0da58f67b7f4 | |
| parent | e098119441b5a2d15bb2ba395dcdc90a0c345e2c (diff) | |
MinzPDO inheritance
| -rw-r--r-- | lib/Minz/ModelPdo.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php index 41a9f60bf..93a22fc3d 100644 --- a/lib/Minz/ModelPdo.php +++ b/lib/Minz/ModelPdo.php @@ -142,13 +142,13 @@ class MinzPDO extends PDO { } } -class MinzPDOMySql extends PDO { +class MinzPDOMySql extends MinzPDO { public function lastInsertId($name = null) { return parent::lastInsertId(); //We discard the name, only used by PostgreSQL } } -class MinzPDOMSQLite extends PDO { +class MinzPDOMSQLite extends MinzPDO { public function lastInsertId($name = null) { return parent::lastInsertId(); //We discard the name, only used by PostgreSQL } |
