r38982 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38981‎ | r38982 | r38983 >
Date:07:03, 9 August 2008
Author:aaron
Status:old
Tags:
Comment:
dev/null doesn't want to cooperate :)
Modified paths:
  • /trunk/extensions/FlaggedRevs/maintenance/updateStats.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/maintenance/updateStats.inc
@@ -1,6 +1,7 @@
22 <?php
33
44 if( php_sapi_name() != 'cli' ) {
 5+ print( 'Invalid entry' );
56 die( 1 );
67 }
78
@@ -70,6 +71,7 @@
7172 $key = wfMemcKey( 'flaggedrevs', 'statsUpdated' );
7273 $dbCache->set( $key, '1', $wgFlaggedRevsStatsAge );
7374 $dbCache->delete( $keySQL );
 75+ print( "Done updating!\n" );
7476 }
7577
7678 function createFlaggedRevsStatsTable( $dbw, $flaggedrevs_stats ) {

Status & tagging log