You are here

function commerce_reports_update_7400 in Commerce Reporting 7.4

Flushes caches to ensure Views and Dashboard do not break.

File

./commerce_reports.install, line 25
Install, update, and uninstall functions for the commerce_reports module.

Code

function commerce_reports_update_7400() {

  // Just flush 'em all. Updating does this, but this way it shows as a pending
  // thing to do, so people don't go "Ah it's broken!"
  drupal_flush_all_caches();
}