function update_advanced_settings_submit in Update Status Advanced Settings 7
Same name and namespace in other branches
- 6 update_advanced.settings.inc \update_advanced_settings_submit()
Submit handler for the update status settings tab.
Ensures that the temporary form data required for the theme function is not actually saved into the {variables} table, then invokes the true submit handler for the settings form to save or reset all the values.
1 string reference to 'update_advanced_settings_submit'
- _update_advanced_alter_settings in ./
update_advanced.settings.inc - Alters the update_settings form to add per-project settings.
File
- ./
update_advanced.settings.inc, line 165 - Code only required on the settings tab of the update status page.
Code
function update_advanced_settings_submit($form, &$form_state) {
unset($form_state['values']['data']);
unset($form_state['values']['available']);
}