r46603 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46602‎ | r46603 | r46604 >
Date:18:51, 30 January 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix automatic schema updates, a holdover from moving the code into a hook.
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.hooks.php
@@ -168,6 +168,8 @@
169169
170170 public static function onLoadExtensionSchemaUpdates() {
171171 global $wgExtNewTables, $wgExtNewFields;
 172+
 173+ $dir = dirname( __FILE__ );
172174
173175 // DB updates
174176 $wgExtNewTables[] = array( 'abuse_filter', "$dir/abusefilter.tables.sql" );

Status & tagging log