A free, self-hostable news aggregator…
MinzPDO inheritance
Alexandre Alapetite0f1bc956d4f3
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.phpindex 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}