| 1 |
<?php
|
| 2 |
// $Id: smfforum.install,v 1.1.2.1 2008/02/05 21:18:03 vb Exp $
|
| 3 |
/**
|
| 4 |
* Copyright (Ñ) 2007-2008 by Vadim G.B. (http://vgb.org.ru)
|
| 5 |
*/
|
| 6 |
|
| 7 |
/**
|
| 8 |
* Implementation of hook_install().
|
| 9 |
*/
|
| 10 |
//function smfforum_install() {
|
| 11 |
//}
|
| 12 |
|
| 13 |
/**
|
| 14 |
* Implementation of hook_uninstall().
|
| 15 |
*/
|
| 16 |
|
| 17 |
function a_sybc_uninstall() {
|
| 18 |
|
| 19 |
// Drop variables.
|
| 20 |
$variables = array(
|
| 21 |
'a_sync_data',
|
| 22 |
'a_sync_module',
|
| 23 |
);
|
| 24 |
|
| 25 |
foreach ($variables as $variable) {
|
| 26 |
variable_del($variable);
|
| 27 |
}
|
| 28 |
|
| 29 |
drupal_set_message(t('a_sync module uninstalled successfully.'));
|
| 30 |
}
|