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 @@
6666 static function submitReset( $formData ) {
6767 global $wgUser, $wgOut;
6868 $wgUser->resetOptions();
 69+ $wgUser->saveSettings();
6970
7071 $url = SpecialPage::getTitleFor( 'Preferences' )->getFullURL( 'success' );
7172

Status & tagging log