http://www.mediawiki.org/wiki/Special:Code/MediaWiki/56283

Revision: 56283
Author:   ialex
Date:     2009-09-13 21:17:38 +0000 (Sun, 13 Sep 2009)

Log Message:
-----------
use correct paths for sql files ;)

Modified Paths:
--------------
    trunk/extensions/LiquidThreads/classes/Hooks.php

Modified: trunk/extensions/LiquidThreads/classes/Hooks.php
===================================================================
--- trunk/extensions/LiquidThreads/classes/Hooks.php    2009-09-13 21:00:12 UTC 
(rev 56282)
+++ trunk/extensions/LiquidThreads/classes/Hooks.php    2009-09-13 21:17:38 UTC 
(rev 56283)
@@ -308,7 +308,7 @@
                global $wgExtNewTables, $wgExtNewFields, $wgExtPGNewFields,
                                $wgExtPGAlteredFields, $wgExtNewIndexes, 
$wgDBtype;
 
-               $dir = dirname( __FILE__ );
+               $dir = dirname( dirname( __FILE__ ) );
                
                // DB updates
                $wgExtNewTables[] = array( 'thread', "$dir/lqt.sql" );
@@ -316,16 +316,16 @@
                $wgExtNewTables[] = array( 'thread_history', 
"$dir/schema-changes/thread_history_table.sql" );
                
                
-               $wgExtNewFields[] = array( "thread", 
"thread_article_namespace", "$dir/split-thread_article.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_article_title", 
"$dir/split-thread_article.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_ancestor", 
"$dir/normalise-ancestry.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_parent", 
"$dir/normalise-ancestry.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_modified", 
"$dir/split-timestamps.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_created", 
"$dir/split-timestamps.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_editedness", 
"$dir/store-editedness.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_subject", 
"$dir/store_subject-author.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_author_id", 
"$dir/store_subject-author.sql" );
-               $wgExtNewFields[] = array( "thread", "thread_author_name", 
"$dir/store_subject-author.sql" );
+               $wgExtNewFields[] = array( "thread", 
"thread_article_namespace", "$dir/schema-changes/split-thread_article.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_article_title", 
"$dir/schema-changes/split-thread_article.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_ancestor", 
"$dir/schema-changes/normalise-ancestry.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_parent", 
"$dir/schema-changes/normalise-ancestry.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_modified", 
"$dir/schema-changes/split-timestamps.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_created", 
"$dir/schema-changes/split-timestamps.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_editedness", 
"$dir/schema-changes/store-editedness.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_subject", 
"$dir/schema-changes/store_subject-author.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_author_id", 
"$dir/schema-changes/store_subject-author.sql" );
+               $wgExtNewFields[] = array( "thread", "thread_author_name", 
"$dir/schema-changes/store_subject-author.sql" );
                
                $wgExtNewIndexes[] = array( 'thread', 'thread_summary_page', 
'(thread_summary_page)' );
                



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to