r92904 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92903‎ | r92904 | r92905 >
Date:22:12, 22 July 2011
Author:werdna
Status:ok
Tags:
Comment:
Add missing global
Modified paths:
  • /trunk/extensions/MoodBar/MoodBar.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/MoodBar.hooks.php
@@ -50,7 +50,7 @@
5151 * ResourceLoaderGetConfigVars hook
5252 */
5353 public static function resourceLoaderGetConfigVars( &$vars ) {
54 - global $wgMoodBarConfig;
 54+ global $wgMoodBarConfig, $wgUser;
5555 $vars['mbConfig'] = array(
5656 'validTypes' => MBFeedbackItem::getValidTypes(),
5757 'userBuckets' => MoodBarHooks::getUserBuckets( $wgUser ),

Status & tagging log