Index: trunk/extensions/CodeReview/repopulateCodePaths.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | class RepopulateCodePaths extends Maintenance { |
10 | 10 | public function __construct() { |
11 | 11 | parent::__construct(); |
12 | | - $this->mDescription = "Rebuilds all code paths to support more efficient searching"; |
| 12 | + $this->mDescription = "Rebuilds all code paths to support more efficient searching"; |
13 | 13 | $this->addArg( 'repo', 'The name of the repo. Cannot be all.' ); |
14 | 14 | $this->addArg( 'revisions', "The revisions to set status for. Format: start:end" ); |
15 | 15 | } |
— | — | @@ -47,12 +47,12 @@ |
48 | 48 | |
49 | 49 | foreach ( $res as $row ) { |
50 | 50 | $fragments = CodeRevision::getPathFragments( |
51 | | - array( array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ) ); |
| 51 | + array( array( 'path' => $row->cp_path, 'action' => $row->cp_action ) ) ); |
52 | 52 | |
53 | 53 | CodeRevision::insertPaths( $dbw, $fragments, $repo->getId(), $row->cp_rev_id ); |
54 | 54 | |
55 | 55 | $this->output( "r{$row->cp_rev_id}, path: " . $row->cp_path . " Fragments: " . |
56 | | - count( $fragments ) . "\n" ); |
| 56 | + count( $fragments ) . "\n" ); |
57 | 57 | } |
58 | 58 | |
59 | 59 | $dbw->commit(); |