Parent Directory
|
Revision Log
|
Revision Graph
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 |