/[drupal]/contributions/modules/Flex-Image/flex_image.install
ViewVC logotype

Contents of /contributions/modules/Flex-Image/flex_image.install

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


Revision 1.1 - (show annotations) (download) (as text)
Fri Mar 28 07:16:00 2008 UTC (20 months ago) by evakoss
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-php
Initial Release for Drupal 6.0
1 <?php
2 // $Id: flex_image.install,v 1.6 2006/09/01 07:40:08 drumm Exp $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function flex_image_install() {
8 // better, difficult to guess
9 $token = md5(uniqid(rand(), true));
10 variable_set('flex_image_key', $token);
11 }
12
13 /**
14 * Implementation of hook_uninstall().
15 */
16 function flex_image_uninstall() {
17 variable_del('flex_image_key');
18 }

  ViewVC Help
Powered by ViewVC 1.1.2