From 1ccba2285cb2b6e28d44c39a6891aece0d132c07 Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Wed, 1 Mar 2006 20:16:12 +0000 Subject: move BitSystem:: preferences methods to get/set/load/storeConfig to avoid conflict with new content preferences --- install_packages.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install_packages.php') diff --git a/install_packages.php b/install_packages.php index 1bb0ef8..d815105 100644 --- a/install_packages.php +++ b/install_packages.php @@ -1,6 +1,6 @@ mPackages ) as $package ) { if( in_array( $package, $_REQUEST['packages'] ) ) { if( $method == 'install' || $method == 'reinstall' ) { - $gBitInstaller->storePreference( 'package_'.strtolower( $package ), 'y', $package ); + $gBitSystem->storeConfig( 'package_'.strtolower( $package ), 'y', $package ); // we'll default wiki to the home page if( defined( 'WIKI_PKG_NAME' ) && $package == WIKI_PKG_NAME ) { - $gBitSystem->storePreference( "bit_index", WIKI_PKG_NAME, WIKI_PKG_NAME ); + $gBitSystem->storeConfig( "bit_index", WIKI_PKG_NAME, WIKI_PKG_NAME ); } } elseif( $method == 'uninstall' ) { // TODO: allow option to remove related content from liberty_content and liberty_structures @@ -181,7 +181,7 @@ if( !empty( $_REQUEST['cancel'] ) ) { // and let's turn on phpBB so people can find it easily. if( defined( 'PHPBB_PKG_NAME' ) ) { - $gBitInstaller->storePreference( 'package_phpbb', 'y', PHPBB_PKG_NAME ); + $gBitSystem->storeConfig( 'package_phpbb', 'y', PHPBB_PKG_NAME ); } // 4. run the defaults through afterwards so we can be sure all tables needed have been created -- cgit v1.3