summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspider@dav <spiderr@bitweaver.org>2021-09-22 15:12:29 -0400
committerspider@dav <spiderr@bitweaver.org>2021-09-22 15:12:29 -0400
commitbac1714f79537904d87220ca91597a8100716f76 (patch)
tree7ba26095d82053751ba3955491ce9750d99fef59
parentcf221b48d9476f181f40ffa094755dc04fe76225 (diff)
downloadinstall-bac1714f79537904d87220ca91597a8100716f76.tar.gz
install-bac1714f79537904d87220ca91597a8100716f76.tar.bz2
install-bac1714f79537904d87220ca91597a8100716f76.zip
remove unused debug()
-rw-r--r--install_cleanup.php2
-rw-r--r--install_upgrade.php1
-rw-r--r--upgrade_packages.php2
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 ) {