r86416 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r86415‎ | r86416 | r86417 >
Date:17:45, 19 April 2011
Author:reedy
Status:ok
Tags:
Comment:
Fix r86255

PHP Strict Standards: Declaration of UserrightsPage::userCanExecute() should be compatible with that of SpecialPage::userCanExecute() in /www/w/includes/AutoLoader.php on line 871
Modified paths:
  • /trunk/phase3/includes/specials/SpecialUserrights.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialUserrights.php
@@ -41,7 +41,7 @@
4242 return true;
4343 }
4444
45 - public function userCanExecute( $user ) {
 45+ public function userCanExecute( User $user ) {
4646 return $this->userCanChangeRights( $user, false );
4747 }
4848

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r86255Refactor the factory/i18n/list/etc static methods from SpecialPage into their...happy-melon11:31, 17 April 2011

Status & tagging log