Index: trunk/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 ) ); |