diff options
| author | spider@dav <spiderr@bitweaver.org> | 2021-09-22 15:12:29 -0400 |
|---|---|---|
| committer | spider@dav <spiderr@bitweaver.org> | 2021-09-22 15:12:29 -0400 |
| commit | bac1714f79537904d87220ca91597a8100716f76 (patch) | |
| tree | 7ba26095d82053751ba3955491ce9750d99fef59 | |
| parent | cf221b48d9476f181f40ffa094755dc04fe76225 (diff) | |
| download | install-bac1714f79537904d87220ca91597a8100716f76.tar.gz install-bac1714f79537904d87220ca91597a8100716f76.tar.bz2 install-bac1714f79537904d87220ca91597a8100716f76.zip | |
remove unused debug()
| -rw-r--r-- | install_cleanup.php | 2 | ||||
| -rw-r--r-- | install_upgrade.php | 1 | ||||
| -rw-r--r-- | upgrade_packages.php | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/install_cleanup.php b/install_cleanup.php index 4846d8a..e7e9085 100644 --- a/install_cleanup.php +++ b/install_cleanup.php @@ -110,7 +110,6 @@ if( !empty( $_REQUEST['create_tables'] ) && !empty( $dbIntegrity )) { } if( !empty( $gDebug ) || !empty( $_REQUEST['debug'] )) { - $gBitInstaller->debug(); $gBitInstallDb->debug = 99; } @@ -143,7 +142,6 @@ if( !empty( $_REQUEST['create_tables'] ) && !empty( $dbIntegrity )) { // if any of the serviceList items have been unchecked, disable the appropriate packages if( !empty( $_REQUEST['resolve_conflicts'] ) ) { if( !empty( $gDebug ) || !empty( $_REQUEST['debug'] ) ) { - $gBitInstaller->debug(); $gBitInstallDb->debug = 99; } // === Permissions diff --git a/install_upgrade.php b/install_upgrade.php index affdcf1..6243aef 100644 --- a/install_upgrade.php +++ b/install_upgrade.php @@ -14,7 +14,6 @@ $gBitInstaller->loadAllUpgradeFiles(); if( !empty( $_REQUEST['upgrade_packages'] )) { if( !empty( $gDebug ) || !empty( $_REQUEST['debug'] ) ) { - $gBitInstaller->debug(); $gBitInstallDb->debug = 99; } diff --git a/upgrade_packages.php b/upgrade_packages.php index 0f3ed14..8aea5ee 100644 --- a/upgrade_packages.php +++ b/upgrade_packages.php @@ -66,7 +66,7 @@ $upPackages = array(); if( !empty( $_REQUEST['upgrade'] ) ) { if( isset( $upgradePath[$_REQUEST['upgrade_from']] ) ) { if( !empty( $gDebug ) || !empty( $_REQUEST['debug'] ) ) { - $gBitInstaller->debug(); + $gBitInstaller->mDb->debug(); } foreach( $upgradePath[$_REQUEST['upgrade_from']] as $from=>$to ) { |
