r114139 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r114138‎ | r114139 | r114140 >
Date:14:19, 19 March 2012
Author:reedy
Status:ok
Tags:
Comment:
Modified paths:
  • /branches/REL1_18/extensions/LiquidThreads (modified) (history)
  • /branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php (modified) (history)
  • /branches/REL1_19/extensions/LiquidThreads (modified) (history)
  • /branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php (modified) (history)

Diff [purge]

Index: branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php
@@ -309,7 +309,7 @@
310310 }
311311
312312 public static function onLoadExtensionSchemaUpdates( $updater = null ) {
313 - $dir = dirname( __FILE__ );
 313+ $dir = realpath( dirname( __FILE__ ) . '/..' );
314314
315315 if ( $updater === null ) {
316316 // DB updates
Property changes on: branches/REL1_18/extensions/LiquidThreads
___________________________________________________________________
Modified: svn:mergeinfo
317317 Merged /trunk/extensions/LiquidThreads:r114138
Index: branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php
@@ -338,7 +338,7 @@
339339 * @return bool
340340 */
341341 public static function onLoadExtensionSchemaUpdates( $updater = null ) {
342 - $dir = dirname( __FILE__ );
 342+ $dir = realpath( dirname( __FILE__ ) . '/..' );
343343
344344 $updater->addExtensionUpdate( array( 'addTable', 'thread', "$dir/lqt.sql", true ) );
345345 $updater->addExtensionUpdate( array( 'addTable', 'thread_history', "$dir/schema-changes/thread_history_table.sql", true ) );
Property changes on: branches/REL1_19/extensions/LiquidThreads
___________________________________________________________________
Modified: svn:mergeinfo
346346 Merged /trunk/extensions/LiquidThreads:r114138

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r114058MFT x2 r114057reedy17:22, 17 March 2012
r114138Partial revert r114058reedy14:14, 19 March 2012

Status & tagging log