non security modules update

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-20 16:32:07 +02:00
parent 6a8d30db08
commit 37fbabab56
466 changed files with 32690 additions and 9652 deletions

View File

@@ -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');
}