mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-09-23 10:22:05 +00:00
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:
parent
e578bb4ab4
commit
8f7499286d
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue