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

Diff of /contributions/modules/webfm/webfm.install

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

revision 1.14, Fri Nov 14 20:59:47 2008 UTC revision 1.15, Wed Aug 19 15:35:42 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: webfm.install,v 1.12 2008/10/15 17:15:48 robmilne Exp $  // $Id: webfm.install,v 1.14 2008/11/14 20:59:47 robmilne Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 23  function webfm_uninstall(){ Line 23  function webfm_uninstall(){
23    variable_del('webfm_attach_size');    variable_del('webfm_attach_size');
24    variable_del('webfm_debug');    variable_del('webfm_debug');
25    variable_del('webfm_display_title');    variable_del('webfm_display_title');
26      variable_del('webfm_display_owner');
27    variable_del('webfm_cron');    variable_del('webfm_cron');
28    variable_del('webfm_max_resolution');    variable_del('webfm_max_resolution');
29    variable_del('webfm_ie_dd_list_offset');    variable_del('webfm_ie_dd_list_offset');
# Line 34  function webfm_uninstall(){ Line 35  function webfm_uninstall(){
35     variable_del('webfm_uploadsize_'.$rid);     variable_del('webfm_uploadsize_'.$rid);
36     variable_del('webfm_usersize_'.$rid);     variable_del('webfm_usersize_'.$rid);
37    }    }
38    
39      if (module_exists('og')) {
40        $groups = og_all_groups_options();
41        foreach ($groups as $gid => $group) {
42          variable_del('root_dir_group_'.$gid);
43        }
44      }
45    
46    $types = node_get_types();    $types = node_get_types();
47    foreach ($types as $type) {    foreach ($types as $type) {
48      if ($type->type)      if ($type->type)

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.2