function scald_uninstall in Scald: Media Management made easy 6
Same name and namespace in other branches
- 7 scald.install \scald_uninstall()
Implementation of hook_uninstall().
Removes the database tables and persistant variables managed through Drupal. Anything set in the Scald Admin Interface will be forgotten.
Uninstall the DB schema and clean up as much as is feasible.
File
- ./
scald.install, line 611
Code
function scald_uninstall() {
drupal_uninstall_schema('scald');
variable_del('scald_config');
variable_del('scald_providers');
variable_del('scald_atom_defaults');
variable_del('scald_context_fallbacks');
variable_del('scald_actions_publisher');
// @@@TODO: Delete all Filter-based variables
// @@@TODO: Clean up blocks, variables, caches, etc.
}