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

Contents of /contributions/modules/realname/realname.install

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


Revision 1.4 - (show annotations) (download) (as text)
Wed Jun 4 18:14:41 2008 UTC (17 months, 3 weeks ago) by nancyw
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-ALPHA4, DRUPAL-5--1-0-BETA, DRUPAL-5--1-0, DRUPAL-6--1-0, DRUPAL-5--1-1-RC1, DRUPAL-5--1-1-RC2, DRUPAL-5--1-1-RC3, DRUPAL-6--1-1-RC1, DRUPAL-6--1-0-ALPHA1, DRUPAL-6--1-0-BETA, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-5
Changes since 1.3: +2 -2 lines
File MIME type: text/x-php
#266633 by NancyDru for tsavino - corrected theme function for nodes.
Changed separator to pattern.
1 <?php
2 // $Id: realname.install,v 1.3 2008/06/04 14:15:13 nancyw Exp $
3
4 /**
5 * @file
6 * Handles installation and updates for the RealName module.
7 *
8 * @copyright Copyright (c) 2007-2008 Nancy Wichmann. All rights reserved.
9 */
10
11 //********************************************************************
12 //* Drupal Hooks
13 //********************************************************************
14
15 /**
16 * Implementation of hook_enable().
17 */
18 function realname_enable() {
19 drupal_set_message(t('The RealName module has been enabled. You may wish to proceed to <a href="!url">the settings page</a>.', array('!url' => url('admin/user/realname'))));
20 }
21
22 /**
23 * Implementation of hook_uninstall().
24 */
25 function realname_uninstall() {
26 variable_del('realname_pattern');
27 variable_del('realname_fields');
28 variable_del('realname_theme');
29 variable_del('realname_nodeapi');
30 }

  ViewVC Help
Powered by ViewVC 1.1.2