Index: trunk/extensions/FlaggedRevs/specialpages/StablePages_body.php |
— | — | @@ -69,7 +69,7 @@ |
70 | 70 | $link = $this->skin->makeKnownLinkObj( $title, $title->getPrefixedText() ); |
71 | 71 | |
72 | 72 | $stitle = SpecialPage::getTitleFor( 'Stabilization' ); |
73 | | - if ( count( FlaggedRevs::getProtectionLevels() ) ) { |
| 73 | + if ( FlaggedRevs::useProtectionLevels() ) { |
74 | 74 | $config = $this->skin->makeKnownLinkObj( $title, wfMsgHtml( 'stablepages-config' ), |
75 | 75 | 'action=protect' ); |
76 | 76 | } else { |