Don't use deprecated wfBaseConvert()

Change-Id: I23eb0a393b2a0f2da32f5f869a22efab92c4069d
This commit is contained in:
Kunal Mehta 2016-11-22 14:48:50 -08:00
parent 9ee40956b0
commit 028031bd5e

View file

@ -504,7 +504,7 @@ class LoginNotify implements LoggerAwareInterface {
if ( !is_string( $res ) ) {
throw new UnexpectedValueException( "Hash failed" );
}
$encoded = $year . '-' . $salt . '-' . wfBaseConvert( $res, 16, 36 );
$encoded = $year . '-' . $salt . '-' . Wikimedia\base_convert( $res, 16, 36 );
return $encoded;
}