Index: branches/wmf/1.17wmf1/includes/api/ApiEditPage.php |
— | — | @@ -63,11 +63,7 @@ |
64 | 64 | $oldTitle = $titleObj; |
65 | 65 | |
66 | 66 | $titles = Title::newFromRedirectArray( Revision::newFromTitle( $oldTitle )->getText( Revision::FOR_THIS_USER ) ); |
67 | | - //array_shift( $titles ); |
68 | | - |
69 | | - $this->getResult()->addValue( null, 'foo', $titles ); |
70 | | - |
71 | | - |
| 67 | + |
72 | 68 | $redirValues = array(); |
73 | 69 | foreach ( $titles as $id => $newTitle ) { |
74 | 70 | |