r57954 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57953‎ | r57954 | r57955 >
Date:19:47, 20 October 2009
Author:catrope
Status:ok
Tags:
Comment:
Fix fatal in r57877: can't use $this in a static function
Modified paths:
  • /trunk/phase3/includes/User.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/User.php
@@ -640,7 +640,7 @@
641641 * @param $password String Desired password
642642 * @return mixed: true on success, string of error message on failure
643643 */
644 - static function getPasswordValidity( $password ) {
 644+ function getPasswordValidity( $password ) {
645645 global $wgMinimalPasswordLength, $wgContLang;
646646
647647 if(!$this->isValidPassword( $password )) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57877* function isValidPassword modified to return boolean(true/false)...fenzik03:01, 19 October 2009

Status & tagging log