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

Contents of /contributions/modules/dynamic_persistent_menu/dynamic_persistent_menu.install

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


Revision 1.2 - (show annotations) (download) (as text)
Fri Jul 31 21:49:14 2009 UTC (3 months, 4 weeks ago) by yrocq
Branch: MAIN
CVS Tags: DRUPAL-6--1-2, HEAD
Branch point for: DRUPAL-6--2
Changes since 1.1: +18 -0 lines
File MIME type: text/x-php
New development branch from DRUPAL-6--1-1
1 <?php
2 /**
3 * Implementation of hook_uninstall
4 *
5 * @return void
6 **/
7 function dynamic_persistent_menu_uninstall() {
8 variable_del('dynamic_persistent_menu_menu_root');
9 variable_del('dynamic_persistent_menu_sub_menu_timeout');
10 }
11
12 function dynamic_persistent_menu_update_6100() {
13 // dsm block shouldn't be put in cache
14 $ret = array();
15 $ret[] = update_sql("UPDATE {blocks} SET cache=-1 WHERE module='dynamic_persistent_menu'");
16
17 return $ret;
18 }

  ViewVC Help
Powered by ViewVC 1.1.2