getCentralAuthToken back to protected.

This was for testing, I didn't mean to commit it.

Follow up 03262edf24

Change-Id: Ia5e8ec482d5b32891de67fe3da6e8c52cca099e9
This commit is contained in:
Matthew Flaschen 2016-07-12 18:45:31 -04:00
parent e578bb4ab4
commit 8f7499286d

View file

@ -51,7 +51,7 @@ class EchoForeignWikiRequest {
* @param User $user
* @return string|null
*/
public function getCentralAuthToken( User $user ) {
protected function getCentralAuthToken( User $user ) {
$context = new RequestContext;
$context->setRequest( new FauxRequest( array( 'action' => 'centralauthtoken' ) ) );
$context->setUser( $user );