dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6f9738d
)
Make it possible to override SpecialPreferences::showResetForm()
author
Sam Wilson
<sam@samwilson.id.au>
Tue, 7 Nov 2017 03:15:24 +0000
(11:15 +0800)
committer
Sam Wilson
<sam@samwilson.id.au>
Tue, 7 Nov 2017 07:49:18 +0000
(15:49 +0800)
Change-Id: I390e9d46fd2b8d4d8a1f9fd250c964a696b48244
includes/specials/SpecialPreferences.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialPreferences.php
b/includes/specials/SpecialPreferences.php
index
7c55e5c
..
8ad1630
100644
(file)
--- a/
includes/specials/SpecialPreferences.php
+++ b/
includes/specials/SpecialPreferences.php
@@
-127,7
+127,7
@@
class SpecialPreferences extends SpecialPage {
return Preferences::getFormObject( $user, $context );
}
- pr
ivate
function showResetForm() {
+ pr
otected
function showResetForm() {
if ( !$this->getUser()->isAllowed( 'editmyoptions' ) ) {
throw new PermissionsError( 'editmyoptions' );
}