/[drupal]/contributions/modules/workspace/workspace.install
ViewVC logotype

Contents of /contributions/modules/workspace/workspace.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download) (as text)
Mon Jul 13 17:17:17 2009 UTC (4 months, 1 week ago) by frankralf
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -1 lines
File MIME type: text/x-php
#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