r86449 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r86448
|
r86449
|
r86450
>
Date:
00:25, 20 April 2011
Author:
neilk
Status:
ok
Tags:
Comment:
make SpecialUpload::userCanExecute signature compatible with SpecialPage, which now uses type hinting
Modified paths:
/trunk/phase3/includes/specials/SpecialUpload.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/specials/SpecialUpload.php
—
—
@@ -140,7 +140,7 @@
141
141
* @param $user User object
142
142
* @return Boolean
143
143
*/
144
- public function userCanExecute( $user ) {
144
+ public function userCanExecute( User $user ) {
145
145
return UploadBase::isEnabled() && parent::userCanExecute( $user );
146
146
}
147
147
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r86255
Refactor the factory/i18n/list/etc static methods from SpecialPage into their...
happy-melon
11:31, 17 April 2011
Status & tagging log
05:11, 20 April 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r86449
[
removed:
new
added:
ok]