function picture_flush_caches in Picture 7.2
Implements hook_flush_caches().
File
- ./
picture.module, line 49 - Picture formatter.
Code
function picture_flush_caches() {
// After update.php, caches are flushed. Check if file_entity has updated to
// version 2.
module_load_include('admin.inc', 'picture');
variable_set('picture_updated_to_file_entity_2', _picture_update_to_file_entity_2());
}