initial commit, from drupal7base

This commit is contained in:
Bachir Soussi Chiadmi
2015-02-17 15:40:34 +01:00
commit e787137542
5750 changed files with 1170043 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
/**
* Implements hook_install().
*/
function extlink_install() {
// Weight needs to be 1 for compatibility with SpamSpan.
db_query("UPDATE {system} SET weight = 1 WHERE name = 'extlink'");
}
/**
* Implements hook_uninstall().
*/
function extlink_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'extlink_%'");
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');
}