From c7b6a1486284510306dc9e19e3f56785fc2a393d Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 20 Oct 2009 19:48:22 +0000 Subject: [PATCH] Whitespace cleanup for r57877 --- includes/User.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; } } -- 2.20.1