r79392 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79391‎ | r79392 | r79393 >
Date:00:15, 1 January 2011
Author:reedy
Status:ok
Tags:
Comment:
Few more minor tweaks, hopefully there now...
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)
  • /trunk/extensions/CodeReview/repopulateCodePaths.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -91,7 +91,7 @@
9292 }
9393 }
9494
95 - return array_unique( $allPaths );
 95+ return $allPaths;
9696 }
9797
9898 /**
Index: trunk/extensions/CodeReview/repopulateCodePaths.php
@@ -45,7 +45,7 @@
4646 $data = array();
4747 foreach ( $res as $row ) {
4848 $fragments = CodeRevision::getPathFragments(
49 - array( 'path' => $row->cp_path, 'action' => $row->cp_action ) );
 49+ array( array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ) );
5050 $data = array_merge( $data, $fragments );
5151
5252 $this->output( "r{$row->cp_rev_id}, path: " . $row->cp_path . " Fragments: " .
@@ -58,7 +58,7 @@
5959 CodeRevision::insertPaths( $dbw, $data, $repo->getId(), $row->cp_rev_id );
6060 $dbw->commit();
6161
62 - $this->output( "Done!\n" );
 62+ $this->output( "Done!\n" );
6363 }
6464 }
6565

Status & tagging log