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:
c2ec847
)
API: Fix up r47470: User::newFromRow() needs all rows from the User table. This kills...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 21 Feb 2009 12:44:41 +0000
(12:44 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 21 Feb 2009 12:44:41 +0000
(12:44 +0000)
includes/api/ApiQueryUsers.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiQueryUsers.php
b/includes/api/ApiQueryUsers.php
index
6e0e5c5
..
3efd4e0
100644
(file)
--- a/
includes/api/ApiQueryUsers.php
+++ b/
includes/api/ApiQueryUsers.php
@@
-78,10
+78,8
@@
if (!defined('MEDIAWIKI')) {
{
$db = $this->getDb();
$this->addTables('user', 'u1');
- $this->addFields('u1.
user_name
');
+ $this->addFields('u1.
*
');
$this->addWhereFld('u1.user_name', $goodNames);
- $this->addFieldsIf('u1.user_editcount', isset($this->prop['editcount']));
- $this->addFieldsIf('u1.user_registration', isset($this->prop['registration']));
if(isset($this->prop['groups'])) {
$this->addTables('user_groups');