You are here

workspace.install in Workspace 6

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

Installation file for "Workspace" module.

File

workspace.install
View source
<?php

/**
 * @file
 * Installation file for "Workspace" module.
 */

/**
 * Implementation of 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 Implementation of hook_uninstall().