diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-06-13 12:16:33 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-06-13 12:16:33 +0000 |
| commit | 87ecc91d4a28b9579eab9bd3e10bf8f93b98953b (patch) | |
| tree | fc15399ff328865a27e5e9fece64dcd67e3077f7 | |
| parent | 2da4b04b5e606a29e55a64a9a8de80702d0cb1f2 (diff) | |
| download | quota-87ecc91d4a28b9579eab9bd3e10bf8f93b98953b.tar.gz quota-87ecc91d4a28b9579eab9bd3e10bf8f93b98953b.tar.bz2 quota-87ecc91d4a28b9579eab9bd3e10bf8f93b98953b.zip | |
Moved defaults to a new pump_quota_inc.php to avoid installer errors.
| -rw-r--r-- | admin/schema_inc.php | 10 |
1 files 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( +//) ); ?> |
