| 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 |
}
|