https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114138
Revision: 114138 Author: reedy Date: 2012-03-19 14:14:05 +0000 (Mon, 19 Mar 2012) Log Message: ----------- Partial revert r114058 Modified Paths: -------------- trunk/extensions/LiquidThreads/classes/Hooks.php Modified: trunk/extensions/LiquidThreads/classes/Hooks.php =================================================================== --- trunk/extensions/LiquidThreads/classes/Hooks.php 2012-03-19 13:47:58 UTC (rev 114137) +++ trunk/extensions/LiquidThreads/classes/Hooks.php 2012-03-19 14:14:05 UTC (rev 114138) @@ -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