Parent Directory
|
Revision Log
|
Revision Graph
#441532 - Applied cumulative patch by hutch, brushed up the code with Coder, updated .pot file and German translation
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * @file |
| 6 | * Installation file for "Workspace" module. |
| 7 | */ |
| 8 | |
| 9 | /** |
| 10 | * Implementation of hook_uninstall(). |
| 11 | */ |
| 12 | function workspace_uninstall() { |
| 13 | variable_del('workspace_user_profile_link'); |
| 14 | $roles = user_roles(); |
| 15 | foreach ($roles as $rid => $name) { |
| 16 | variable_del('workspace_user_profile_'. $rid); |
| 17 | } |
| 18 | |
| 19 | // Currently uninstalling leaves per-user workspace data |
| 20 | // inside the data field of the user table. A nice batch |
| 21 | // API to remove that data should go here. |
| 22 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |