r33563 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r33562‎ | r33563 | r33564 >
Date:20:25, 18 April 2008
Author:ialex
Status:old
Tags:
Comment:
Update $wgCacheEpch on each update, idea from nikerabbit :)
Modified paths:
  • /trunk/extensions/Configure/Configure.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/Configure.body.php
@@ -198,6 +198,7 @@
199199 unset( $settings[$name] );
200200 }
201201
 202+ $settings['wgCacheEpoch'] = max( $settings['wgCacheEpoch'], wfTimestampNow() );
202203 $ok = $wgConf->saveNewSettings( $settings, $wiki );
203204 $msg = wfMsgNoTrans( $ok ? 'configure-saved' : 'configure-error' );
204205 $class = $ok ? 'successbox' : 'errorbox';

Status & tagging log