r28790 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r28789‎ | r28790 | r28791 >
Date:07:59, 23 December 2007
Author:vasilievvv
Status:old
Tags:
Comment:
Also drop sidebar cache
Modified paths:
  • /trunk/phase3/maintenance/rebuildmessages.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/rebuildmessages.php
@@ -11,5 +11,7 @@
1212 foreach( $databases as $db ) {
1313 echo "Deleting message cache for {$db}... ";
1414 $wgMessageCache->mMemc->delete( "{$db}:messages" );
15 - echo "Deleted";
 15+ if( $wgEnableSidebarCache )
 16+ $wgMessageCache->mMemc->delete( "{$db}:sidebar" );
 17+ echo "Deleted\n";
1618 }
\ No newline at end of file

Status & tagging log