mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/LoginNotify
synced 2024-11-12 01:01:38 +00:00
Don't use deprecated wfBaseConvert()
Change-Id: I23eb0a393b2a0f2da32f5f869a22efab92c4069d
This commit is contained in:
parent
9ee40956b0
commit
028031bd5e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue