diff --git a/fe_block.module b/fe_block.module index 0a92da7..26f8638 100755 --- a/fe_block.module +++ b/fe_block.module @@ -447,7 +447,6 @@ function fe_block_settings_features_revert($module_name = NULL) { $block_roles = isset($block['roles']) ? $block['roles'] : NULL; $block_css_class = isset($block['css_class']) ? $block['css_class'] : NULL; $block_domain_blocks = isset($block['domain_blocks']) ? $block['domain_blocks'] : NULL; - $block_i18n_block_language = isset($block['i18n_block_language']) ? $block['i18n_block_language'] : NULL; unset($block['themes']); unset($block['node_types']); @@ -501,7 +500,7 @@ function fe_block_settings_features_revert($module_name = NULL) { if (isset($block_css_class) && module_exists('block_class')) { _fe_block_settings_update_block_css_class($block, $block_css_class); } - // Update block domain . + // Update block domain. if (isset($block_domain_blocks) && module_exists('domain_blocks')) { _fe_block_settings_update_domain_blocks($block, $block_domain_blocks); } @@ -672,7 +671,7 @@ function _fe_block_settings_update_block_css_class($block, $block_css_class) { * @param string $block_domain_blocks * List of domains to apply to the block. */ -function _fe_block_settings_update_domain_blocks($block,$block_domain_blocks) { +function _fe_block_settings_update_domain_blocks($block, $block_domain_blocks) { if (module_exists('domain_blocks')) { if (db_table_exists('domain_blocks') && db_table_exists('domain')) { // First delete the old domain_blocks settings, if any. @@ -697,7 +696,8 @@ function _fe_block_settings_update_domain_blocks($block,$block_domain_blocks) { 'delta' => $block['delta'], 'realm' => $realm, 'domain_id' => $domain_id - ))->execute(); + )) + ->execute(); } } }