Index: trunk/phase3/includes/api/ApiRollback.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | $articleObj = new Article( $this->mTitleObj ); |
48 | 48 | $summary = ( isset( $params['summary'] ) ? $params['summary'] : '' ); |
49 | 49 | $details = null; |
50 | | - $retval = $articleObj->doRollback( $params['user'], $summary, $params['token'], $params['markbot'], $details ); |
| 50 | + $retval = $articleObj->doRollback( $this->username, $summary, $params['token'], $params['markbot'], $details ); |
51 | 51 | |
52 | 52 | if ( $retval ) { |
53 | 53 | // We don't care about multiple errors, just report one of them |