You are here

function _commerce_file_collate_license_info_rebuild in Commerce File 7

Rebuild license info

2 calls to _commerce_file_collate_license_info_rebuild()
commerce_file_modules_enabled in ./commerce_file.module
Implements hook_modules_enabled().
commerce_file_update_7106 in ./commerce_file.install
Rebuild the cache for hook_commerce_file_license_info() for UI improvements to take effect.

File

./commerce_file.module, line 388
Provides integration of file licenses with Commerce

Code

function _commerce_file_collate_license_info_rebuild() {

  // reset cache
  _commerce_file_collate_license_info(TRUE);

  // rebuild cache
  return _commerce_file_collate_license_info();
}