r35891 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r35890‎ | r35891 | r35892 >
Date:23:21, 4 June 2008
Author:brion
Status:old
Tags:
Comment:
don't abort all _other_ updates being run just because recentchanges was empty.
Modified paths:
  • /trunk/extensions/CheckUser/install.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/install.inc
@@ -15,8 +15,8 @@
1616 // Check if the table is empty
1717 $rcRows = $db->selectField( 'recentchanges', 'COUNT(*)', false, __FUNCTION__ );
1818 if ( !$rcRows ) {
19 - echo "recent_changes is empty; nothing to add.\n";
20 - exit( 1 );
 19+ echo "recentchanges is empty; nothing to add.\n";
 20+ return;
2121 }
2222
2323 if( $cutoff ) {

Status & tagging log