summaryrefslogtreecommitdiff
path: root/admin/schema_inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/schema_inc.php')
-rw-r--r--admin/schema_inc.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/admin/schema_inc.php b/admin/schema_inc.php
index c7299d7..ed99dad 100644
--- a/admin/schema_inc.php
+++ b/admin/schema_inc.php
@@ -107,7 +107,7 @@ global $gBitInstaller;
$gBitInstaller->makePackageHomeable(WIKI_PKG_NAME);
foreach( array_keys( $tables ) AS $tableName ) {
- $gBitInstaller->registerSchemaTable( WIKI_PKG_DIR, $tableName, $tables[$tableName] );
+ $gBitInstaller->registerSchemaTable( WIKI_PKG_NAME, $tableName, $tables[$tableName] );
}
$gBitInstaller->registerPackageInfo( WIKI_PKG_NAME, array(
@@ -124,13 +124,13 @@ $indices = array (
'tiki_pages_page_rank_idx' => array( 'table' => 'tiki_pages', 'cols' => 'page_rank', 'opts' => NULL ),
'tiki_page_footnotes_page_idx' => array( 'table' => 'tiki_page_footnotes', 'cols' => 'page_id', 'opts' => NULL )
);
-$gBitInstaller->registerSchemaIndexes( WIKI_PKG_DIR, $indices );
+$gBitInstaller->registerSchemaIndexes( WIKI_PKG_NAME, $indices );
// ### Sequences
$sequences = array (
'tiki_pages_page_id_seq' => array( 'start' => 1 )
);
-$gBitInstaller->registerSchemaSequences( WIKI_PKG_DIR, $sequences );
+$gBitInstaller->registerSchemaSequences( WIKI_PKG_NAME, $sequences );
// ### Default UserPermissions
@@ -194,8 +194,6 @@ $gBitInstaller->registerPreferences( WIKI_PKG_NAME, array(
array(WIKI_PKG_NAME, 'warn_on_edit_time','2'),
array(WIKI_PKG_NAME, 'wiki_bot_bar','n'),
array(WIKI_PKG_NAME, 'wiki_cache','0'),
- array(WIKI_PKG_NAME, 'wiki_comments_default_ordering','points_desc'),
- array(WIKI_PKG_NAME, 'wiki_comments_per_page','10'),
array(WIKI_PKG_NAME, 'wiki_creator_admin','n'),
array(WIKI_PKG_NAME, 'wiki_feature_copyrights','n'),
array(WIKI_PKG_NAME, 'wiki_forum',''),