Parent Directory
|
Revision Log
|
Revision Graph
Initial Release for Drupal 5.x
| 1 | <?php |
| 2 | // $Id$ |
| 3 | |
| 4 | /** |
| 5 | * Implementation of hook_uninstall(). |
| 6 | */ |
| 7 | function comment_dialogue_uninstall() { |
| 8 | $vars = array( |
| 9 | 'comment_dialogue_roles', |
| 10 | 'comment_dialogue_msg', |
| 11 | 'comment_dialogue_subject', |
| 12 | 'comment_dialogue_body' |
| 13 | ); |
| 14 | foreach ($vars as $var) { |
| 15 | variable_del($var); |
| 16 | } |
| 17 | foreach (node_get_types() as $type => $name) { |
| 18 | variable_del('comment_dialogue_' . $type); |
| 19 | } |
| 20 | cache_clear_all(); |
| 21 | } |
| ViewVC Help | |
| Powered by ViewVC 1.1.2 |