https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114139

Revision: 114139
Author:   reedy
Date:     2012-03-19 14:19:16 +0000 (Mon, 19 Mar 2012)
Log Message:
-----------
MFT r114138

r114058

Modified Paths:
--------------
    branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php
    branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php

Property Changed:
----------------
    branches/REL1_18/extensions/LiquidThreads/
    branches/REL1_19/extensions/LiquidThreads/


Property changes on: branches/REL1_18/extensions/LiquidThreads
___________________________________________________________________
Modified: svn:mergeinfo
   - 
/trunk/extensions/LiquidThreads:57390,92706,97811,98773,98801,98960,98982,99022,99059,99097,99164,99167,103675,104049,104162,114057
   + 
/trunk/extensions/LiquidThreads:57390,92706,97811,98773,98801,98960,98982,99022,99059,99097,99164,99167,103675,104049,104162,114057,114138

Modified: branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php
===================================================================
--- branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php 2012-03-19 
14:14:05 UTC (rev 114138)
+++ branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php 2012-03-19 
14:19:16 UTC (rev 114139)
@@ -309,7 +309,7 @@
        }
 
        public static function onLoadExtensionSchemaUpdates( $updater = null ) {
-               $dir = dirname( __FILE__ );
+               $dir = realpath( dirname( __FILE__ ) . '/..' );
 
                if ( $updater === null ) {
                        // DB updates


Property changes on: branches/REL1_19/extensions/LiquidThreads
___________________________________________________________________
Modified: svn:mergeinfo
   - 
/trunk/extensions/LiquidThreads:57390,112660,112687,112751,112770-112771,112775,112849,112851,112856,112859,112903,112925,112993,114057
   + 
/trunk/extensions/LiquidThreads:57390,112660,112687,112751,112770-112771,112775,112849,112851,112856,112859,112903,112925,112993,114057,114138

Modified: branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php
===================================================================
--- branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php 2012-03-19 
14:14:05 UTC (rev 114138)
+++ branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php 2012-03-19 
14:19:16 UTC (rev 114139)
@@ -338,7 +338,7 @@
         * @return bool
         */
        public static function onLoadExtensionSchemaUpdates( $updater = null ) {
-               $dir = dirname( __FILE__ );
+               $dir = realpath( dirname( __FILE__ ) . '/..' );
 
                $updater->addExtensionUpdate( array( 'addTable', 'thread', 
"$dir/lqt.sql", true ) );
                $updater->addExtensionUpdate( array( 'addTable', 
'thread_history', "$dir/schema-changes/thread_history_table.sql", true ) );


_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to