function encrypt_uninstall in Encrypt 6
Same name and namespace in other branches
- 7.3 encrypt.install \encrypt_uninstall()
- 7 encrypt.install \encrypt_uninstall()
- 7.2 encrypt.install \encrypt_uninstall()
Implementation of hook_uninstall().
File
- ./
encrypt.install, line 28 - This file holds the functions for the installing and enabling of the encrypt module.
Code
function encrypt_uninstall() {
// Get module variables
$results = db_query("SELECT v.name FROM {variable} AS v WHERE v.name LIKE '%s%%'", 'encrypt_');
// Remove variables
while ($row = db_fetch_array($results)) {
variable_del($row['name']);
}
}