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
(parent:
471f2b3
)
Avoid CAS update errors on password reset
author
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 22 Dec 2015 04:17:36 +0000
(20:17 -0800)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Tue, 22 Dec 2015 04:17:36 +0000
(20:17 -0800)
This could be caused by double posts or hook conflicts.
Bug: T95839
Change-Id: If362c8d0c9f9ded76b185cd717638b06775be885
includes/specials/SpecialPreferences.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialPreferences.php
b/includes/specials/SpecialPreferences.php
index
49ab6d5
..
b45946f
100644
(file)
--- a/
includes/specials/SpecialPreferences.php
+++ b/
includes/specials/SpecialPreferences.php
@@
-128,7
+128,7
@@
class SpecialPreferences extends SpecialPage {
throw new PermissionsError( 'editmyoptions' );
}
- $user = $this->getUser();
+ $user = $this->getUser()
->getInstanceForUpdate()
;
$user->resetOptions( 'all', $this->getContext() );
$user->saveSettings();