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

Contents of /contributions/modules/salt/salt.install

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


Revision 1.1 - (show annotations) (download) (as text)
Wed Oct 24 11:08:19 2007 UTC (2 years, 1 month ago) by karthik
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-6--1-1-BETA, DRUPAL-5--1-0-BETA, HEAD
Branch point for: DRUPAL-5, DRUPAL-6--1
File MIME type: text/x-php
Initial commit: The salt module allows for Drupal passwords to be 'salted' - an internal string
is appended to the password prior to storage - making them less prone to
dictionary attacks, rainbow tables and the like.
1 <?php
2 // $Id$
3
4 /**
5 * Implementation of hook_install().
6 */
7 function salt_install() {
8 drupal_set_message(t('Salt module: Installation script complete.'));
9 }
10
11 /**
12 * Implementation of hook_uninstall().
13 */
14 function salt_uninstall() {
15 variable_del('salt');
16 drupal_set_message(t('Salt module: Uninstallation script complete.'));
17 }

  ViewVC Help
Powered by ViewVC 1.1.2