r45525 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45524‎ | r45525 | r45526 >
Date:21:36, 7 January 2009
Author:aaron
Status:ok
Tags:
Comment:
Remove needless ampersand from function argument
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php
@@ -95,7 +95,7 @@
9696 /**
9797 * Update flaggedrevs table on revision restore
9898 */
99 - public static function updateFromRestore( $title, $revision, &$oldPageID ) {
 99+ public static function updateFromRestore( $title, $revision, $oldPageID ) {
100100 $dbw = wfGetDB( DB_MASTER );
101101 # Some revisions may have had null rev_id values stored when deleted.
102102 # This hook is called after insertOn() however, in which case it is set

Status & tagging log