non security modules update
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Implementation of hook_install().
|
||||
* Implements hook_install().
|
||||
*/
|
||||
function extlink_install() {
|
||||
// Weight needs to be 1 for compatibility with SpamSpan.
|
||||
@@ -9,9 +9,16 @@ function extlink_install() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Implementation of hook_uninstall().
|
||||
* Implements hook_uninstall().
|
||||
*/
|
||||
function extlink_uninstall() {
|
||||
db_query("DELETE FROM {variable} WHERE name LIKE 'extlink_%'");
|
||||
cache()->deleteTags(array('variables' => TRUE));
|
||||
cache_clear_all('variables', 'cache');
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete "extlink_target_value" variable (now uses "extlink_target" directly).
|
||||
*/
|
||||
function extlink_update_7101(&$sandbox) {
|
||||
variable_del('extlink_target_value');
|
||||
}
|
||||
|
Reference in New Issue
Block a user