Manual talk:Hooks/UserSaveOptions

Add topic
From mediawiki.org
Latest comment: 10 years ago by Jdlrobson

I'm a little confused. When using this hook I expect getOption to return the current value of the user preference before the save however it always seems to have the same value as the one in options...

var_dump( $user->getOption( 'foo' ), $options['foo'] ); Jdlrobson (talk) 21:39, 27 February 2014 (UTC)Reply