From 53ace1747e951d229a367671c25eed8721d8485b Mon Sep 17 00:00:00 2001 From: modela bitweaver Date: Wed, 22 Jun 2016 13:41:27 -0400 Subject: change-all-StartTrans-calls-to-BitBase-method --- install_packages.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_packages.php b/install_packages.php index 92e84a5..a26cc61 100644 --- a/install_packages.php +++ b/install_packages.php @@ -486,7 +486,7 @@ if( !empty( $_REQUEST['cancel'] ) ) { // ---------------------- 7. ---------------------- // Do stuff that only applies during the first install - $gBitSystem->mDb->StartTrans(); + $gBitInstaller->StartTrans(); if( isset( $_SESSION['first_install'] ) && $_SESSION['first_install'] == TRUE ) { // set the version of bitweaver in the database $gBitSystem->storeVersion( NULL, $gBitSystem->getBitVersion() ); @@ -631,9 +631,9 @@ if( !empty( $_REQUEST['cancel'] ) ) { if( !empty( $failedcommands ) ) { $gBitSmarty->assign( 'errors', $errors); $gBitSmarty->assign( 'failedcommands', $failedcommands); - $gBitSystem->mDb->RollbackTrans(); + $gBitInstaller->RollbackTrans(); } else { - $gBitSystem->mDb->CompleteTrans(); + $gBitInstaller->CompleteTrans(); } // display the confirmation page -- cgit v1.3