Index: trunk/extensions/CheckUser/CheckUser.php |
— | — | @@ -87,7 +87,7 @@ |
88 | 88 | # Periodically flush old entries from the recentchanges table. |
89 | 89 | global $wgCUDMaxAge; |
90 | 90 | |
91 | | - $dbw =& wfGetDB( DB_MASTER ); |
| 91 | + $dbw = wfGetDB( DB_MASTER ); |
92 | 92 | $cutoff = $dbw->timestamp( time() - $wgCUDMaxAge ); |
93 | 93 | $recentchanges = $dbw->tableName( 'cu_changes' ); |
94 | 94 | $sql = "DELETE FROM $recentchanges WHERE cuc_timestamp < '{$cutoff}'"; |