Commit bc780f81 authored by merlinofchaos's avatar merlinofchaos

#86577: Added a form_alter to check for the profile form so that Views will...

#86577: Added a form_alter to check for the profile form so that Views will invalidate its cache when profile fields are added/edited.
parent e4f229ad
......@@ -2117,3 +2117,9 @@ function views_taxonomy($op, $type, $object = NULL) {
views_invalidate_cache();
}
}
function views_form_alter($form_id, &$form) {
if ($form_id == 'profile_field_form') {
views_invalidate_cache();
}
}
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