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:
95d1b99
)
Include user name in weird User insertion exception.
author
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 3 May 2013 23:14:31 +0000
(16:14 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Fri, 3 May 2013 23:14:31 +0000
(16:14 -0700)
Change-Id: I70fea9819e968ae306de5c3c3eee4292d3fa17d3
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
37a384c
..
5a525bf
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-3263,7
+3263,7
@@
class User {
}
if ( !$loaded ) {
throw new MWException( __METHOD__ . ": hit a key conflict attempting " .
- "to insert
a user row, but then it doesn't exist when we select i
t!" );
+ "to insert
user '{$this->mName}' row, but it was not present in selec
t!" );
}
return Status::newFatal( 'userexists' );
}