r24134 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24133‎ | r24134 | r24135 >
Date:22:12, 15 July 2007
Author:aaron
Status:old
Tags:
Comment:
*Kill ampersand
Modified paths:
  • /trunk/extensions/CheckUser/CheckUser.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CheckUser/CheckUser.php
@@ -87,7 +87,7 @@
8888 # Periodically flush old entries from the recentchanges table.
8989 global $wgCUDMaxAge;
9090
91 - $dbw =& wfGetDB( DB_MASTER );
 91+ $dbw = wfGetDB( DB_MASTER );
9292 $cutoff = $dbw->timestamp( time() - $wgCUDMaxAge );
9393 $recentchanges = $dbw->tableName( 'cu_changes' );
9494 $sql = "DELETE FROM $recentchanges WHERE cuc_timestamp < '{$cutoff}'";

Status & tagging log