function private_uninstall in Private 7
Same name and namespace in other branches
- 5 private.install \private_uninstall()
- 6 private.install \private_uninstall()
- 7.2 private.install \private_uninstall()
Implements hook_uninstall().
File
- ./
private.install, line 35 - Install, update and uninstall functions for the private module.
Code
function private_uninstall() {
// Remove variables.
$node_types = array_keys(node_type_get_types());
foreach ($node_types as $node_type) {
variable_del('private_' . $node_type);
}
}