You are here

function commerce_reports_modules_enabled in Commerce Reporting 7.4

Implements hook_modules_enabled().

File

./commerce_reports.module, line 56
Module file for Commerce Reports.

Code

function commerce_reports_modules_enabled($modules) {
  if (in_array('views_data_export', $modules)) {

    // Flush Views cache so export displays import.
    views_invalidate_cache();
  }
}