dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e9711a
)
Fix fatal in r57877: can't use $this in a static function
author
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 20 Oct 2009 19:47:20 +0000
(19:47 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Tue, 20 Oct 2009 19:47:20 +0000
(19:47 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
9fd2598
..
ac1f7c2
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-640,7
+640,7
@@
class User {
* @param $password String Desired password
* @return mixed: true on success, string of error message on failure
*/
-
static
function getPasswordValidity( $password ) {
+ function getPasswordValidity( $password ) {
global $wgMinimalPasswordLength, $wgContLang;
if(!$this->isValidPassword( $password )) {