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

Diff of /contributions/modules/archive/archive.install

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

revision 1.3 by susurrus, Sat Aug 25 05:39:19 2007 UTC revision 1.4 by susurrus, Sun Aug 26 01:23:18 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: archive.install,v 1.3 2007/08/25 05:39:19 susurrus Exp $
3    
4  function archive_install(){  function archive_install() {
5    // Initially set all nodes to be visible on archive page    // Initially set all nodes to be visible on archive page
6    $types = node_get_types();    $types = node_get_types();
7    variable_set('archive_type_filters', array_keys($types));    variable_set('archive_type_filters', array_keys($types));
8  }  }
9    
10  function archive_uninstall(){  function archive_uninstall() {
11    variable_del('archive_type_filters');    variable_del('archive_type_filters');
12  }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.3