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

Contents of /contributions/modules/taxorole/taxorole.install

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


Revision 1.1 - (show annotations) (download) (as text)
Wed Nov 14 17:25:17 2007 UTC (2 years ago) by codexgr
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-5
File MIME type: text/x-php
Initial commit. Use taxonomy terms as roles.
1 <?php
2 /* Copyright CODEX, Konstantinos Margaritis markos@codex.gr
3 * Licensed under the GPL
4 * $Id$
5
6 * Implementation of hook_install()
7 */
8
9 function taxorole_install() {
10 variable_set('taxorole_prefix_role_name', TRUE);
11 }
12
13 function taxorole_uninstall() {
14 variable_del('taxorole_prefix_role_name');
15
16 drupal_set_message(t('Taxorole module has been uninstalled successfully.'));
17 }
18

  ViewVC Help
Powered by ViewVC 1.1.2