Manual talk:Hooks/UserSaveOptions

From MediaWiki.org
Jump to navigation Jump to search

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)