aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-11 22:42:41 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2015-05-11 22:42:41 +0200
commit217c191a1ba3ac03b847d261a32e19975380fcad (patch)
treee222fb9f5c4b5ee415053451bbc3245ebdef1bab /lib
parent0745252b68f6f9b7c91ea437893b5f33b7a224c3 (diff)
More SQLite compatibility
Additional changes to add compatibility with SQLite for the new hash/lastSeen mode of updating articles.
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/ModelPdo.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Minz/ModelPdo.php b/lib/Minz/ModelPdo.php
index ac7a1bed7..3e8ec1f43 100644
--- a/lib/Minz/ModelPdo.php
+++ b/lib/Minz/ModelPdo.php
@@ -134,4 +134,9 @@ class MinzPDO extends PDO {
MinzPDO::check($statement);
return parent::exec($statement);
}
+
+ public function query($statement) {
+ MinzPDO::check($statement);
+ return parent::query($statement);
+ }
}