r92836 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92835‎ | r92836 | r92837 >
Date:00:49, 22 July 2011
Author:werdna
Status:deferred
Tags:
Comment:
1.17wmf1 compat: OutputPage::getUser does not exist yet
Modified paths:
  • /trunk/extensions/MoodBar/MoodBar.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MoodBar/MoodBar.hooks.php
@@ -24,7 +24,8 @@
2525 if ( $skin->getSkinName() !== 'vector' ) {
2626 return false;
2727 }
28 - $user = $output->getUser();
 28+ global $wgUser;
 29+ $user = $wgUser;
2930
3031 if ( $user->isAnon() ) {
3132 return false;

Status & tagging log