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

Contents of /contributions/modules/search_engine_referers/search_engine_referers.install

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


Revision 1.2 - (show annotations) (download) (as text)
Mon May 12 19:03:01 2008 UTC (18 months, 2 weeks ago) by soxofaan
Branch: MAIN
CVS Tags: DRUPAL-6--1-1, HEAD
Changes since 1.1: +19 -0 lines
File MIME type: text/x-php
#256974: add help after install and other minor tweaks
1 <?php
2 // $Id: search_engine_referers.install,v 1.1.2.1 2008/05/12 18:48:02 soxofaan Exp $
3
4 /**
5 * Implementation of hook_install().
6 */
7 function search_engine_referers_install() {
8 drupal_set_message(t('You can find the <a href="!url">search engine referers page</a> in the reports section.',
9 array('!url' => url('admin/reports/search_engine_referers'))
10 ));
11 }
12
13 /**
14 * Implementation of hook_unstall().
15 */
16 function search_engine_referers_uninstall() {
17 db_query("DELETE FROM {variable} WHERE name LIKE 'search_engine_referers_%'");
18 cache_clear_all('variables', 'cache');
19 }

  ViewVC Help
Powered by ViewVC 1.1.2