You are here

function file_info_cache_clear in D7 Media 7

Clears the file info cache.

2 calls to file_info_cache_clear()
file_entity_modules_disabled in file_entity/file_entity.module
Implements hook_modules_disabled().
file_entity_modules_enabled in file_entity/file_entity.module
Implements hook_modules_enabled().

File

file_entity/file_entity.file_api.inc, line 102
API extensions of Drupal core's file.inc.

Code

function file_info_cache_clear() {
  drupal_static_reset('file_info_file_types');
  drupal_static_reset('file_info_formatter_types');
}