r51420 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r51419
|
r51420
|
r51421
>
Date:
16:53, 3 June 2009
Author:
werdna
Status:
ok
Tags:
Comment:
Fix preferences reset, was missing a saveSettings()
Modified paths:
/trunk/phase3/includes/specials/SpecialPreferences.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/specials/SpecialPreferences.php
—
—
@@ -65,6 +65,7 @@
66
66
static function submitReset( $formData ) {
67
67
global $wgUser, $wgOut;
68
68
$wgUser->resetOptions();
69
+ $wgUser->saveSettings();
69
70
70
71
$url = SpecialPage::getTitleFor( 'Preferences' )->getFullURL( 'success' );
71
72
Status & tagging log
04:23, 6 June 2009
Tim Starling
(
talk
|
contribs
)
changed the
status
of r51420
[
removed:
new
added:
ok]