function activity_uninstall_schema in Activity 8
Implements hook_uninstall_schema().
File
- ./
activity.install, line 127 - Install, update and uninstall functions for the activity module.
Code
function activity_uninstall_schema($module) {
$schema = drupal_get_module_schema($module);
_drupal_schema_initialize($schema, $module, FALSE);
foreach ($schema as $table) {
if (Schema::tableExists('activity_events')) {
Schema::dropTable('activity_events');
}
if (Schema::tableExists('activity')) {
Schema::dropTable('activity');
}
}
}