Index: trunk/extensions/MoodBar/MoodBar.hooks.php |
— | — | @@ -50,7 +50,7 @@ |
51 | 51 | * ResourceLoaderGetConfigVars hook |
52 | 52 | */ |
53 | 53 | public static function resourceLoaderGetConfigVars( &$vars ) { |
54 | | - global $wgMoodBarConfig; |
| 54 | + global $wgMoodBarConfig, $wgUser; |
55 | 55 | $vars['mbConfig'] = array( |
56 | 56 | 'validTypes' => MBFeedbackItem::getValidTypes(), |
57 | 57 | 'userBuckets' => MoodBarHooks::getUserBuckets( $wgUser ), |