Remove the drupal_flush_all_caches() from hook_update_N

Created on 4 January 2018, over 7 years ago
Updated 1 June 2024, 11 months ago

Remove the drupal_flush_all_caches() from hook_update_N

Instead of flushing the caches on the hook_update_N, it better to Specify in Release notes saying "In this Release one need to Flush caches"

/**
 * Clear cache to notice the CTools load callback.
 */
function field_group_update_7008() {
  drupal_flush_all_caches();
}
📌 Task
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

🇮🇳India heykarthikwithu Bengaluru 🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024