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:
b658937
)
$wgContLang global unused in addNewUserLogEntry since b65893755
author
Platonides
<platonides@gmail.com>
Fri, 25 Jan 2013 21:33:12 +0000
(22:33 +0100)
committer
Platonides
<platonides@gmail.com>
Fri, 25 Jan 2013 21:35:29 +0000
(22:35 +0100)
Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
ce47110
..
c5f616e
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-4237,7
+4237,7
@@
class User {
* @return int|bool True if not $wgNewUserLog; otherwise ID of log item or 0 on failure
*/
public function addNewUserLogEntry( $action = false, $reason = '' ) {
- global $wgUser, $wg
ContLang, $wg
NewUserLog;
+ global $wgUser, $wgNewUserLog;
if( empty( $wgNewUserLog ) ) {
return true; // disabled
}