Index: trunk/extensions/LiquidThreads/classes/View.php |
— | — | @@ -613,7 +613,7 @@ |
614 | 614 | 'href' => self::permalinkUrl( $thread, 'thread_history' ), |
615 | 615 | 'enabled' => true ); |
616 | 616 | |
617 | | - if ( in_array( 'move', $this->user->getRights() ) ) { |
| 617 | + if ( $this->user->isAllowed( 'move' ) ) { |
618 | 618 | $move_href = SpecialPage::getTitleFor( 'MoveThread' )->getFullURL() |
619 | 619 | . '/' . $thread->title()->getPrefixedURL(); |
620 | 620 | $commands['move'] = array( 'label' => wfMsg( 'move' ), |