You are here

function styles_uninstall in Styles 6

Same name and namespace in other branches
  1. 6.2 styles.install \styles_uninstall()
  2. 7.2 styles.install \styles_uninstall()
  3. 7 styles.install \styles_uninstall()

Implement hook_uninstall().

File

./styles.install, line 18
Install, update and uninstall functions for the Styles module.

Code

function styles_uninstall() {
  foreach (styles_variable_default() as $variable => $value) {
    styles_variable_del($variable);
  }
  return array(
    array(
      'success' => TRUE,
      'query' => "Deleted all variables in the Styles namespace.",
    ),
  );
}