r57393 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57392‎ | r57393 | r57394 >
Date:19:18, 5 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Code style tweak
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/View.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/View.php
@@ -613,7 +613,7 @@
614614 'href' => self::permalinkUrl( $thread, 'thread_history' ),
615615 'enabled' => true );
616616
617 - if ( in_array( 'move', $this->user->getRights() ) ) {
 617+ if ( $this->user->isAllowed( 'move' ) ) {
618618 $move_href = SpecialPage::getTitleFor( 'MoveThread' )->getFullURL()
619619 . '/' . $thread->title()->getPrefixedURL();
620620 $commands['move'] = array( 'label' => wfMsg( 'move' ),

Status & tagging log