r95305 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95304‎ | r95305 | r95306 >
Date:13:04, 23 August 2011
Author:catrope
Status:ok
Tags:
Comment:
Unbreak CollabWatchlist updater, tried to add the ct_tag and ct_rc_id fields even if they already existed (e.g. when you run the updater a second time)
Modified paths:
  • /trunk/extensions/CollabWatchlist/CollabWatchlist.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CollabWatchlist/CollabWatchlist.php
@@ -66,7 +66,7 @@
6767 $sqlDir . 'collabwatchlistrevisiontag.sql', true ) );
6868 $updater->addExtensionUpdate( array ( 'addTable', 'collabwatchlisttag',
6969 $sqlDir . 'collabwatchlisttag.sql', true ) );
70 - $updater->addExtensionUpdate( array( 'modifyField', 'collabwatchlistrevisiontag', 'ct_rc_id',
 70+ $updater->addExtensionUpdate( array( 'addField', 'collabwatchlistrevisiontag', 'ct_rc_id',
7171 $sqlDir . 'patch-collabwatchlist_noctid.sql', true ) );
7272 }
7373 return true;

Status & tagging log