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
(from:
c796585
)
Use $wgUser in ResourceLoaderUserGroupsModule when possible.
author
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Mon, 9 Apr 2012 17:56:33 +0000
(19:56 +0200)
committer
Alexandre Emsenhuber
<ialex.wiki@gmail.com>
Mon, 9 Apr 2012 18:27:40 +0000
(20:27 +0200)
$wgUser will be used is the User object corresponding to the user name passed in the "user" parameter. This avoids calling User::newFromName() (which will unstub $wgAuth, do database requests, etc.) when an object is already available.
Change-Id: Ia6c5ee1a59581b6410232fa3101af5ae1ff8577e
No differences found