FINAL suepr merge step : added all modules to this super repos

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-19 16:46:59 +02:00
7585 changed files with 1723356 additions and 18 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* @file
* Install, update and uninstall functions for the location_node module.
*/
/**
* Implentation of hook_uninstall().
*/
function location_node_uninstall() {
// Delete node settings.
$result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_settings_node_%'")->fetchCol();
foreach ($result as $var) {
variable_del($var);
}
// Delete compatibility variables.
$result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_maxnum_%'")->fetchCol();
foreach ($result as $var) {
variable_del($var);
}
$result = db_query("SELECT name FROM {variable} WHERE name LIKE 'location_defaultnum_%'")->fetchCol();
foreach ($result as $var) {
variable_del($var);
}
}