workspace.install in Workspace 7
Same filename and directory in other branches
workspace install, update and uninstall functions.
File
workspace.installView 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
Name | Description |
---|---|
workspace_uninstall | Implements hook_uninstall(). |