You are here

workspace.install in Workspace 7

Same filename and directory in other branches
  1. 8.2 workspace.install
  2. 8 workspace.install
  3. 6 workspace.install

workspace install, update and uninstall functions.

File

workspace.install
View source
<?php

/**
 * @file
 * workspace install, update and uninstall functions.
 *
 */

/**
 * Implements hook_uninstall().
 */
function workspace_uninstall() {
  variable_del('workspace_user_profile_link');
  $roles = user_roles();
  foreach ($roles as $rid => $name) {
    variable_del('workspace_user_profile_' . $rid);
  }

  // Currently uninstalling leaves per-user workspace data
  // inside the data field of the user table. A nice batch
  // API to remove that data should go here.
}

Functions

Namesort descending Description
workspace_uninstall Implements hook_uninstall().