From bac1714f79537904d87220ca91597a8100716f76 Mon Sep 17 00:00:00 2001 From: "spider@dav" Date: Wed, 22 Sep 2021 15:12:29 -0400 Subject: remove unused debug() --- install_cleanup.php | 2 -- install_upgrade.php | 1 - upgrade_packages.php | 2 +- 3 files changed, 1 insertion(+), 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 ) { -- cgit v1.3