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

Diff of /contributions/modules/site_map/site_map.install

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

revision 1.1.2.2, Thu Jan 10 14:14:39 2008 UTC revision 1.1.2.3, Tue Jul 1 08:33:07 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: site_map.install,v 1.1.2.1 2007/09/26 14:09:54 frjo Exp $  // $Id: site_map.install,v 1.1.2.2 2008/01/10 14:14:39 frjo Exp $
3    
4  /**  /**
5   * Implementation of hook_uninstall().   * Implementation of hook_uninstall().
# Line 18  function site_map_uninstall() { Line 18  function site_map_uninstall() {
18    variable_del('site_map_show_rss_links');    variable_del('site_map_show_rss_links');
19    variable_del('site_map_rss_depth');    variable_del('site_map_rss_depth');
20    
21    $langs = locale_supported_languages();    if (function_exists('locale')) {
22    foreach ($langs['name'] as $lang_code => $lang_name) {      $langs = locale_supported_languages();
23      variable_del("site_map_message_$lang_code");      foreach ($langs['name'] as $lang_code => $lang_name) {
24          variable_del("site_map_message_$lang_code");
25        }
26    }    }
27  }  }

Legend:
Removed from v.1.1.2.2  
changed lines
  Added in v.1.1.2.3

  ViewVC Help
Powered by ViewVC 1.1.2