diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:14 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-07-17 17:36:14 +0000 |
| commit | 67830c673de03613ef979932f596c54f0cdaa4b4 (patch) | |
| tree | 3326846fd5bb86b61701a93470c2384cc90d98ac /admin | |
| parent | ca1f69021a18a827f1eba926875b1cc3e4e70257 (diff) | |
| download | quota-67830c673de03613ef979932f596c54f0cdaa4b4.tar.gz quota-67830c673de03613ef979932f596c54f0cdaa4b4.tar.bz2 quota-67830c673de03613ef979932f596c54f0cdaa4b4.zip | |
Merge recent changes from R1 to HEAD - never doing this again.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/schema_inc.php | 10 |
1 files changed, 5 insertions, 5 deletions
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' => '<a href="http://www.gnu.org/licenses/licenses.html#LGPL">LGPL</a>', '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.' )", |
