X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fpassword%2FPassword.php;h=342995a01ec35f89a2773f3a0c904dbd0c34ee78;hb=694ca68b234bd7a24f8abba85a2c2288331de1b2;hp=4caff8ef5b189a2a42ec44cfb8c33b4cbcd0fd85;hpb=76e1adc55491312337de67529be7d20584f51f3d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/password/Password.php b/includes/password/Password.php index 4caff8ef5b..342995a01e 100644 --- a/includes/password/Password.php +++ b/includes/password/Password.php @@ -155,11 +155,14 @@ abstract class Password { * custom comparison, but it is not recommended unless necessary. * * @deprecated since 1.33, use verify() + * @codeCoverageIgnore * * @param Password|string $other The other password * @return bool True if equal, false otherwise */ public function equals( $other ) { + wfDeprecated( __METHOD__, '1.33' ); + if ( is_string( $other ) ) { return $this->verify( $other ); }