Index: branches/REL1_18/extensions/LiquidThreads/classes/Hooks.php |
— | — | @@ -309,12 +309,11 @@ |
310 | 310 | } |
311 | 311 | |
312 | 312 | public static function onLoadExtensionSchemaUpdates( $updater = null ) { |
313 | | - $dir = realpath( dirname( __FILE__ ) . '/..' ); |
| 313 | + $dir = dirname( __FILE__ ); |
314 | 314 | |
315 | 315 | if ( $updater === null ) { |
316 | 316 | // DB updates |
317 | 317 | $wgExtNewTables[] = array( 'thread', "$dir/lqt.sql" ); |
318 | | - $wgExtNewTables[] = array( 'user_message_state', "$dir/lqt.sql" ); |
319 | 318 | $wgExtNewTables[] = array( 'thread_history', "$dir/schema-changes/thread_history_table.sql" ); |
320 | 319 | $wgExtNewTables[] = array( 'thread_pending_relationship', "$dir/schema-changes/thread_pending_relationship.sql" ); |
321 | 320 | $wgExtNewTables[] = array( 'thread_reaction', "$dir/schema-changes/thread_reactions.sql" ); |
— | — | @@ -338,7 +337,6 @@ |
339 | 338 | $wgExtNewIndexes[] = array( 'thread', 'thread_summary_page', '(thread_summary_page)' ); |
340 | 339 | } else { |
341 | 340 | $updater->addExtensionUpdate( array( 'addTable', 'thread', "$dir/lqt.sql", true ) ); |
342 | | - $updater->addExtensionUpdate( array( 'addTable', 'user_message_state', "$dir/lqt.sql", true ) ); |
343 | 341 | $updater->addExtensionUpdate( array( 'addTable', 'thread_history', "$dir/schema-changes/thread_history_table.sql", true ) ); |
344 | 342 | $updater->addExtensionUpdate( array( 'addTable', 'thread_pending_relationship', "$dir/schema-changes/thread_pending_relationship.sql", true ) ); |
345 | 343 | $updater->addExtensionUpdate( array( 'addTable', 'thread_reaction', "$dir/schema-changes/thread_reactions.sql", true ) ); |
Property changes on: branches/REL1_18/extensions/LiquidThreads |
___________________________________________________________________ |
Modified: svn:mergeinfo |
346 | 344 | Merged /trunk/extensions/LiquidThreads:r114057 |
Index: branches/REL1_19/extensions/LiquidThreads/classes/Hooks.php |
— | — | @@ -338,10 +338,9 @@ |
339 | 339 | * @return bool |
340 | 340 | */ |
341 | 341 | public static function onLoadExtensionSchemaUpdates( $updater = null ) { |
342 | | - $dir = realpath( dirname( __FILE__ ) . '/..' ); |
| 342 | + $dir = dirname( __FILE__ ); |
343 | 343 | |
344 | 344 | $updater->addExtensionUpdate( array( 'addTable', 'thread', "$dir/lqt.sql", true ) ); |
345 | | - $updater->addExtensionUpdate( array( 'addTable', 'user_message_state', "$dir/lqt.sql", true ) ); |
346 | 345 | $updater->addExtensionUpdate( array( 'addTable', 'thread_history', "$dir/schema-changes/thread_history_table.sql", true ) ); |
347 | 346 | $updater->addExtensionUpdate( array( 'addTable', 'thread_pending_relationship', "$dir/schema-changes/thread_pending_relationship.sql", true ) ); |
348 | 347 | $updater->addExtensionUpdate( array( 'addTable', 'thread_reaction', "$dir/schema-changes/thread_reactions.sql", true ) ); |
Property changes on: branches/REL1_19/extensions/LiquidThreads |
___________________________________________________________________ |
Modified: svn:mergeinfo |
349 | 348 | Merged /trunk/extensions/LiquidThreads:r114057 |