summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorNick Palmer <nick@sluggardy.net>2007-06-13 12:16:33 +0000
committerNick Palmer <nick@sluggardy.net>2007-06-13 12:16:33 +0000
commit87ecc91d4a28b9579eab9bd3e10bf8f93b98953b (patch)
treefc15399ff328865a27e5e9fece64dcd67e3077f7 /admin
parent2da4b04b5e606a29e55a64a9a8de80702d0cb1f2 (diff)
downloadquota-87ecc91d4a28b9579eab9bd3e10bf8f93b98953b.tar.gz
quota-87ecc91d4a28b9579eab9bd3e10bf8f93b98953b.tar.bz2
quota-87ecc91d4a28b9579eab9bd3e10bf8f93b98953b.zip
Moved defaults to a new pump_quota_inc.php to avoid installer errors.
Diffstat (limited to 'admin')
-rw-r--r--admin/schema_inc.php10
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(
+//) );
?>