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

Contents of /contributions/modules/securepages/securepages.install

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


Revision 1.2 - (show annotations) (download) (as text)
Sat Dec 22 07:03:46 2007 UTC (23 months ago) by gordon
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
Changes since 1.1: +19 -1 lines
File MIME type: text/x-php
* Sync HEAD with 5.x
1 <?php
2 // $Id: securepages.install,v 1.1 2007/01/26 03:31:39 gordon Exp $
3
4 /**
5 * Implementation of hook_enable()
6 */
7 function securepages_enable() {
8 drupal_set_message(t('Secure pages needs to be enabled on !setting', array('!settings' => l(t('admin/settings/securepages'), 'admin/settings/securepages'))));
9 }
10
11 /**
12 * Implementation of hook_uninstall()
13 */
14 function securepages_uninstall() {
15 variable_del('securepages_enable');
16 variable_del('securepages_switch');
17 variable_del('securepages_secure');
18 variable_del('securepages_pages');
19 variable_del('securepages_ignore');
20 }
21
22 /**
23 * Implementation of hook_update_n()
24 */
25 function securepages_update_1() {
26 variable_set('securepages_enable', 1);
27
28 return array();
29 }

  ViewVC Help
Powered by ViewVC 1.1.2