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

Contents of /contributions/modules/submitted_by/submitted_by.install

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


Revision 1.4 - (show annotations) (download) (as text)
Tue Jul 14 19:49:33 2009 UTC (4 months, 2 weeks ago) by nancyw
Branch: MAIN
CVS Tags: DRUPAL-6--1-4, DRUPAL-6--1-3, HEAD
Branch point for: DRUPAL-6--1, DRUPAL-7--1
Changes since 1.3: +3 -3 lines
File MIME type: text/x-php
Coder finds.
1 <?php
2 // $Id: submitted_by.install,v 1.3 2008/10/21 00:36:40 nancyw Exp $
3
4 /**
5 * @file
6 * Take over the "Submitted by" theme function to allow different
7 * content types to have different strings.
8 */
9
10 /**
11 * Implementation of hook_uninstall().
12 */
13 function submitted_by_uninstall() {
14 // Remove any variables that we have set.
15 foreach (node_get_types('names') as $type => $name) {
16 variable_del('submitted_by_'. $type);
17 variable_del('submitted_by_comment_'. $type);
18 }
19 }

  ViewVC Help
Powered by ViewVC 1.1.2