From 87ecc91d4a28b9579eab9bd3e10bf8f93b98953b Mon Sep 17 00:00:00 2001 From: Nick Palmer Date: Wed, 13 Jun 2007 12:16:33 +0000 Subject: Moved defaults to a new pump_quota_inc.php to avoid installer errors. --- admin/schema_inc.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/admin/schema_inc.php b/admin/schema_inc.php index 5745c4e..25ca7f1 100644 --- a/admin/schema_inc.php +++ b/admin/schema_inc.php @@ -62,12 +62,6 @@ $gBitInstaller->registerPreferences( QUOTA_PKG_NAME, array( array(QUOTA_PKG_NAME, 'quota_list_description','y'), ) ); -$gBitInstaller->registerSchemaDefault( QUOTA_PKG_NAME, array( - "INSERT INTO `".BIT_DB_PREFIX."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."quotas` ( `quota_id`, `disk_usage`, `monthly_transfer`, `title`, `description` ) VALUES ('2', 10000000, 100000000, 'Site Supporters', 'Extra space for site supporters.' )", - - "INSERT INTO `".BIT_DB_PREFIX."quotas_group_map` ( `quota_id`, `group_id` ) VALUES ( 1, 3 )", - "INSERT INTO `".BIT_DB_PREFIX."quotas_group_map` ( `quota_id`, `group_id` ) VALUES ( 2, 2 )", -) ); -// Last two INSERTs should be moved to installer pump page to avoid CONSTRAINT issues +//$gBitInstaller->registerSchemaDefault( QUOTA_PKG_NAME, array( +//) ); ?> -- cgit v1.3