From 23ad60e630ff81be825f87b838063717a48ace0e Mon Sep 17 00:00:00 2001 From: "Mark A. Hershberger" Date: Wed, 26 Jan 2011 17:48:58 +0000 Subject: [PATCH] * Whitespace fixups * followup r66675 - Robla caught a problem with the parameter munging --- includes/User.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/User.php b/includes/User.php index 9cd33f9928..db854a7ea5 100644 --- a/includes/User.php +++ b/includes/User.php @@ -168,7 +168,7 @@ class User { var $mFrom; /** - * Lazy-initialized variables, invalidated with clearInstanceCache + * Lazy-initialized variables, invalidated with clearInstanceCache */ var $mNewtalk, $mDatePreference, $mBlockedby, $mHash, $mSkin, $mRights, $mBlockreason, $mBlock, $mEffectiveGroups, $mBlockedGlobally, @@ -610,7 +610,7 @@ class User { */ function getPasswordValidity( $password ) { global $wgMinimalPasswordLength, $wgContLang; - + static $blockedLogins = array( 'Useruser' => 'Passpass', 'Useruser1' => 'Passpass1', # r75589 'Apitestsysop' => 'testpass', 'Apitestuser' => 'testpass' # r75605 @@ -3830,7 +3830,7 @@ class User { // Set newtalk with the right user ID $this->setNewtalk( true ); wfRunHooks( 'AfterUserMessage', - array( $this, $article, $summary, $text, $signature, $summary, $editor ) ); + array( $this, $article, $subject, $text, $signature, $summary, $editor ) ); $dbw->commit(); } else { // The article was concurrently created -- 2.20.1