function fe_paths_uninstall in File Entity Paths 7.2
Implements hook_uninstall().
File
- ./
fe_paths.install, line 194 - Install, update and uninstall functions for the File Entity Paths module. @todo: Figure out, how should this work with Filefield Paths. Now, the filefield_paths has partial media + File Entity support
Code
function fe_paths_uninstall() {
if (!module_exists('filefield_paths') && drupal_get_installed_schema_version('filefield_paths') == SCHEMA_UNINSTALLED) {
db_drop_field('file_managed', 'origname');
// Need to 'Column not found:' error message after uninstall module.
cache_clear_all();
entity_info_cache_clear();
registry_rebuild();
}
}