Index: trunk/extensions/FlaggedRevs/backend/FlaggedRevs.hooks.php |
— | — | @@ -929,7 +929,7 @@ |
930 | 930 | if ( $key === null ) { // should catch login |
931 | 931 | $key = User::generateToken( $user->getId() ); |
932 | 932 | // Temporary secret key attached to this session |
933 | | - $this->request->setSessionData( 'wsFlaggedRevsKey', $key ); |
| 933 | + $wgRequest->setSessionData( 'wsFlaggedRevsKey', $key ); |
934 | 934 | } |
935 | 935 | } |
936 | 936 | return true; |