| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 // $Id: site_map.install,v 1.3.2.3.2.3 2010/05/07 11:16:29 frjo Exp $ 3 4 /** 5 * @file 6 * The install and update code for the site_map module. 7 * 8 * @ingroup site_map 9 */ 10 11 /** 12 * Implementation of hook_uninstall(). 13 */ 14 function site_map_uninstall() { 15 db_query("DELETE FROM {variable} WHERE name LIKE 'site_map_%'"); 16 } 17 18 /** 19 * Delete no longer used variables. 20 */ 21 function site_map_update_6000() { 22 $ret = array(); 23 $ret[] = update_sql("DELETE FROM {variable} WHERE name LIKE 'site_map_message_%'"); 24 $ret[] = update_sql("DELETE FROM {variable} WHERE name LIKE 'site_map_show_menus_%'"); 25 return $ret; 26 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |