first import
This commit is contained in:
19
sites/all/modules/mb/mb_user/mb_user.install
Normal file
19
sites/all/modules/mb/mb_user/mb_user.install
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Installs, updates, and uninstalls More Buttons User.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_uninstall().
|
||||
*/
|
||||
function mb_user_uninstall() {
|
||||
// Remove variables.
|
||||
$page_types = array_keys(mb_user_type_get_types());
|
||||
foreach ($page_types as $type) {
|
||||
variable_del('mb_content_cancel_' . $type);
|
||||
variable_del('mb_content_sac_' . $type);
|
||||
variable_del('mb_content_sacn_' . $type);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user