diff options
| author | modela bitweaver <bitweaver@modela> | 2016-06-22 13:41:27 -0400 |
|---|---|---|
| committer | modela bitweaver <bitweaver@modela> | 2016-06-22 13:41:27 -0400 |
| commit | 53ace1747e951d229a367671c25eed8721d8485b (patch) | |
| tree | f6a925498bce446ab7c43442a5c7f202c5dcaff9 | |
| parent | c0e89eb4d63828415350173a8582a44cb784cfd8 (diff) | |
| download | install-53ace1747e951d229a367671c25eed8721d8485b.tar.gz install-53ace1747e951d229a367671c25eed8721d8485b.tar.bz2 install-53ace1747e951d229a367671c25eed8721d8485b.zip | |
change-all-StartTrans-calls-to-BitBase-method
| -rw-r--r-- | install_packages.php | 6 |
1 files 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 |
