summaryrefslogtreecommitdiff
path: root/classes/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-04-26 20:04:24 +0300
committerAndrew Dolgov <[email protected]>2016-04-26 20:04:24 +0300
commit977cea1438dafcdc98756b070a1383e5887d64c1 (patch)
tree4a4e5d75d56c7c36c72a70d811d9db1926de7a52 /classes/db.php
parent9e84bab449f9ed55e02e60378b0af1521026f3b8 (diff)
actually check for failures properly in the dbupdater
Diffstat (limited to 'classes/db.php')
-rw-r--r--classes/db.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/db.php b/classes/db.php
index 695ca6ea2..8d2f89516 100644
--- a/classes/db.php
+++ b/classes/db.php
@@ -94,5 +94,8 @@ class Db implements IDb {
return $this->adapter->last_error();
}
+ function last_query_error() {
+ return $this->adapter->last_query_error();
+ }
}
?>