diff msitegen.inc.php @ 579:204106edd2b6

Return the return values.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 02 Oct 2014 13:36:59 +0300
parents 4227095a1384
children e78d90ca4f4a
line wrap: on
line diff
--- a/msitegen.inc.php	Thu Oct 02 13:35:30 2014 +0300
+++ b/msitegen.inc.php	Thu Oct 02 13:36:59 2014 +0300
@@ -645,14 +645,14 @@
 function stDBBeginTransaction($dbh = FALSE)
 {
   global $db;
-  stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "BEGIN TRANSACTION");
+  return stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "BEGIN TRANSACTION");
 }
 
 
 function stDBCommitTransaction($dbh)
 {
   global $db;
-  stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "COMMIT");
+  return stDBExecSQL(($dbh !== FALSE) ? $dbh : $db, "COMMIT");
 }