Manual:Hooks/PreferencesFormPreSave

Details

 * $formData - An associative array containing the data from the preferences form.
 * $form - The  object that represents the preferences form.
 * $user - The  object that can be used to change the user's preferences.
 * &$result - The boolean return value of the  method.
 * $oldUserOptions - An associative array containing the old user options (before save).