workspace.install in Workspace 6
Same filename and directory in other branches
Installation file for "Workspace" module.
File
workspace.installView 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
Name | Description |
---|---|
workspace_uninstall | Implementation of hook_uninstall(). |