From: Roan Kattouw Date: Tue, 20 Oct 2009 19:48:22 +0000 (+0000) Subject: Whitespace cleanup for r57877 X-Git-Tag: 1.31.0-rc.0~39212 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=c7b6a1486284510306dc9e19e3f56785fc2a393d;p=lhc%2Fweb%2Fwiklou.git Whitespace cleanup for r57877 --- diff --git a/includes/User.php b/includes/User.php index ac1f7c2f54..6b5e8b6599 100644 --- a/includes/User.php +++ b/includes/User.php @@ -643,14 +643,13 @@ class User { function getPasswordValidity( $password ) { global $wgMinimalPasswordLength, $wgContLang; - if(!$this->isValidPassword( $password )) { + if ( !$this->isValidPassword( $password ) ) { if( strlen( $password ) < $wgMinimalPasswordLength ) { return 'passwordtooshort'; - } elseif( $wgContLang->lc( $password ) == $wgContLang->lc( $this->mName ) ) { + } elseif ( $wgContLang->lc( $password ) == $wgContLang->lc( $this->mName ) ) { return 'password-name-match'; } - } - else { + } else { return true; } }