New 'UserResetAllOptions' hook from the wikiHow codebase.
authorJack Phoenix <jack@countervandalism.net>
Tue, 8 Jul 2014 13:14:27 +0000 (16:14 +0300)
committerJack Phoenix <jack@countervandalism.net>
Thu, 10 Jul 2014 21:39:16 +0000 (00:39 +0300)
commit6cddec72137cd59c197a2b5eed9c42ee82a98813
treeb1601a70e6596dbdd901d542d574f1434c5b3a07
parentd88e4bf313a6015bdbb4091f03b307b7d825d706
New 'UserResetAllOptions' hook from the wikiHow codebase.

Location is a tad bit different now than on the wikiHow codebase and some
arguments have been added, as per code review.

Because sometimes you have things that are stored in the user_properties
database table that should *not* be reset even when the user has requested
to reset all prefs back to the site defaults.

Live example of a thing using this hook (well, its previous iteration) is
wikiHow's WikihowPreferences extension.

Change-Id: I1da936c786adb21e2c1802ef405bb904c9cf4918
docs/hooks.txt
includes/User.php