Commit 26c5f09b authored by alexpott's avatar alexpott
Browse files

Issue #2003320 by gdf, jibran: Rename Views method reset_form() to resetForm().

parent 51d364e0
......@@ -273,7 +273,7 @@ function exposed_form_validate(&$form, &$form_state) {
*/
public function exposedFormSubmit(&$form, &$form_state, &$exclude) {
if (!empty($form_state['values']['op']) && $form_state['values']['op'] == $this->options['reset_button_label']) {
$this->reset_form($form, $form_state);
$this->resetForm($form, $form_state);
}
if (isset($form_state['pager_plugin'])) {
$form_state['pager_plugin']->exposedFormSubmit($form, $form_state, $exclude);
......@@ -281,7 +281,7 @@ public function exposedFormSubmit(&$form, &$form_state, &$exclude) {
}
}
function reset_form(&$form, &$form_state) {
public function resetForm(&$form, &$form_state) {
// _SESSION is not defined for users who are not logged in.
// If filters are not overridden, store the 'remember' settings on the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment