You are here

function spaces_uninstall in Spaces 5.2

Same name and namespace in other branches
  1. 6.3 spaces.install \spaces_uninstall()
  2. 6 spaces.install \spaces_uninstall()
  3. 6.2 spaces.install \spaces_uninstall()
  4. 7.3 spaces.install \spaces_uninstall()
  5. 7 spaces.install \spaces_uninstall()

Implementation of hook_uninstall()

File

./spaces.install, line 45

Code

function spaces_uninstall() {

  // Drop database table
  db_query('DROP TABLE {spaces_settings}');
  db_query('DROP TABLE {spaces_features}');
  db_query('DROP TABLE {spaces_features_custom}');

  // Delete variables
  $variables = array();
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}