Index: trunk/extensions/CodeReview/backend/CodeRevision.php |
— | — | @@ -91,7 +91,7 @@ |
92 | 92 | } |
93 | 93 | } |
94 | 94 | |
95 | | - return array_unique( $allPaths ); |
| 95 | + return $allPaths; |
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
Index: trunk/extensions/CodeReview/repopulateCodePaths.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | $data = array(); |
47 | 47 | foreach ( $res as $row ) { |
48 | 48 | $fragments = CodeRevision::getPathFragments( |
49 | | - array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ); |
| 49 | + array( array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ) ); |
50 | 50 | $data = array_merge( $data, $fragments ); |
51 | 51 | |
52 | 52 | $this->output( "r{$row->cp_rev_id}, path: " . $row->cp_path . " Fragments: " . |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | CodeRevision::insertPaths( $dbw, $data, $repo->getId(), $row->cp_rev_id ); |
60 | 60 | $dbw->commit(); |
61 | 61 | |
62 | | - $this->output( "Done!\n" ); |
| 62 | + $this->output( "Done!\n" ); |
63 | 63 | } |
64 | 64 | } |
65 | 65 | |