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:
7d19b08
)
newFromName: Fixing error in the documentation and adding IP address as an example...
author
Tobias
<churchofemacs@users.mediawiki.org>
Fri, 19 Feb 2010 10:51:03 +0000
(10:51 +0000)
committer
Tobias
<churchofemacs@users.mediawiki.org>
Fri, 19 Feb 2010 10:51:03 +0000
(10:51 +0000)
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
1273a47
..
2dea90b
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-345,7
+345,8
@@
class User {
* User::getCanonicalName(), except that true is accepted as an alias
* for 'valid', for BC.
*
- * @return \type{User} The User object, or null if the username is invalid. If the
+ * @return \type{User} The User object, or false if the username is invalid
+ * (e.g. if it contains illegal characters or is an IP address). If the
* username is not present in the database, the result will be a user object
* with a name, zero user ID and default settings.
*/