r72512 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r72511
|
r72512
|
r72513
>
Date:
21:38, 6 September 2010
Author:
siebrand
Status:
deferred
Tags:
Comment:
Fix PHP Notice: Undefined variable: wgUser
Modified paths:
/trunk/extensions/LiquidThreads/api/ApiThreadAction.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/LiquidThreads/api/ApiThreadAction.php
—
—
@@ -401,6 +401,8 @@
402
402
'format' => 'json',
403
403
);
404
404
405
+ global $wgUser;
406
+
405
407
if ( $wgUser->isAllowed('bot') ) {
406
408
$requestData['bot'] = true;
407
409
}
Status & tagging log
00:50, 4 December 2010
Werdna
(
talk
|
contribs
)
changed the
status
of r72512
[
removed:
new
added:
deferred]