8000 Issue #430. Clear node cache after saving customized options by argiepiano · Pull Request #433 · backdrop-contrib/ubercart · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Issue #430. Clear node cache after saving customized options #433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions uc_attribute/uc_attribute.admin.inc
Original file line number Diff line number Diff line change
Expand Up @@ -1269,8 +1269,8 @@ function uc_object_options_form_submit($form, &$form_state) {
backdrop_set_message(t('The @type options have been saved.', array('@type' => $form_state['values']['type'] == 'product' ? t('product') : t('product class'))));

if ($form_state['values']['type'] == 'product') {
// Clear the page and block caches.
cache_clear_all();
// Clear the node cache.
cache_clear_all($form_state['values']['id'], 'cache_entity_node');
}
}

Expand Down
0