From 67830c673de03613ef979932f596c54f0cdaa4b4 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sun, 17 Jul 2005 17:36:14 +0000 Subject: Merge recent changes from R1 to HEAD - never doing this again. --- admin/schema_inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'admin') diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 64a0a53..c3de259 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -29,10 +29,10 @@ global $gBitInstaller; $gBitInstaller->makePackageHomeable('quota'); foreach( array_keys( $tables ) AS $tableName ) { - $gBitInstaller->registerSchemaTable( QUOTA_PKG_DIR, $tableName, $tables[$tableName] ); + $gBitInstaller->registerSchemaTable( QUOTA_PKG_NAME, $tableName, $tables[$tableName] ); } -$gBitInstaller->registerPackageInfo( QUOTA_PKG_DIR, array( +$gBitInstaller->registerPackageInfo( QUOTA_PKG_NAME, array( 'description' => "Quota system limits user disk and bandwidth usage for Liberty content", 'license' => 'LGPL', 'version' => '0.1', @@ -44,15 +44,15 @@ $gBitInstaller->registerPackageInfo( QUOTA_PKG_DIR, array( $indices = array ( 'tiki_quotas_group_idx' => array( 'table' => 'tiki_quotas_group_map', 'cols' => 'group_id', 'opts' => array( 'UNIQUE' ) ), ); -$gBitInstaller->registerSchemaIndexes( QUOTA_PKG_DIR, $indices ); +$gBitInstaller->registerSchemaIndexes( QUOTA_PKG_NAME, $indices ); // ### Sequences $sequences = array ( 'tiki_quota_id_seq' => array( 'start' => 3 ) ); -$gBitInstaller->registerSchemaSequences( QUOTA_PKG_DIR, $sequences ); +$gBitInstaller->registerSchemaSequences( QUOTA_PKG_NAME, $sequences ); -$gBitInstaller->registerSchemaDefault( QUOTA_PKG_DIR, array( +$gBitInstaller->registerSchemaDefault( QUOTA_PKG_NAME, array( "INSERT INTO `".BIT_DB_PREFIX."tiki_quotas` ( `quota_id`, `disk_usage`, `monthly_transfer`, `title`, `description` ) VALUES ('1', 2000000, 20000000, 'Free Trial', 'A little space to try out site features' )", "INSERT INTO `".BIT_DB_PREFIX."tiki_quotas` ( `quota_id`, `disk_usage`, `monthly_transfer`, `title`, `description` ) VALUES ('2', 10000000, 100000000, 'Site Supporters', 'Extra space for site supporters.' )", -- cgit v1.3