| 1 |
|
<?php |
| 2 |
|
// $Id: $ |
| 3 |
|
|
| 4 |
|
/** |
| 5 |
|
* Implementation of hook_install(). |
| 6 |
|
*/ |
| 7 |
|
function override_node_options_install() { |
| 8 |
|
// nothing to do |
| 9 |
|
} |
| 10 |
|
|
| 11 |
|
/** |
| 12 |
|
* Implementation of hook_uninstall(). |
| 13 |
|
*/ |
| 14 |
|
function override_node_options_uninstall() { |
| 15 |
|
db_query("DELETE FROM {variable} WHERE name LIKE 'override_node_options_%'"); |
| 16 |
|
db_query("DELETE FROM {system} WHERE name = 'override_node_options'"); |
| 17 |
|
// TODO we could be leaving permissions in the permission table, but they're tricky to remove |
| 18 |
|
} |
| 19 |
|
|