@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * df_engage.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * df_engage.features.field_instance.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_instances(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * df_engage.features.user_permission.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * df_engage.features.user_permission.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_defaultconfig_user_default_permissions(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * df_engage.strongarm.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * df_engage.strongarm.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_strongarm(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * df_engage.features.taxonomy.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * df_engage.features.taxonomy.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_taxonomy_default_vocabularies(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Code for the DF Engage feature. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Code for the DF Engage feature. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | include_once 'df_engage.features.inc'; |
| 8 | 8 | |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * df_commerce.features.field_instance.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * df_commerce.features.field_instance.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_field_default_field_instances(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * df_commerce.features.user_permission.inc |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * df_commerce.features.user_permission.inc |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Implements hook_defaultconfig_user_default_permissions(). |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * DF Admin page handling functions. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * DF Admin page handling functions. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * DF Admin page callback used to list scenarios. |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Contains DF Admin's uninstall command. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Contains DF Admin's uninstall command. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | 8 | * Page callback; uninstall a scenario. |
@@ -22,8 +22,7 @@ discard block |
||
| 22 | 22 | if (!$scenario = variable_get('df_admin_installed_scenario', FALSE)) { |
| 23 | 23 | drupal_set_message(t('No Demo Framework Scenario is currently installed.')); |
| 24 | 24 | return FALSE; |
| 25 | - } |
|
| 26 | - else{ |
|
| 25 | + } else{ |
|
| 27 | 26 | drupal_set_message(t('Uninstalling Demo Framework Scenario @scenario', array('@scenario' => $scenario))); |
| 28 | 27 | } |
| 29 | 28 | |
@@ -111,13 +110,11 @@ discard block |
||
| 111 | 110 | if ($enable_module) { |
| 112 | 111 | $options = array('query' => array('token' => drupal_get_token(DRUPAL_ROOT . '/df/enable/' . $enable_module))); |
| 113 | 112 | $path = array('admin/df/enable/' . $enable_module, $options); |
| 114 | - } |
|
| 115 | - else { |
|
| 113 | + } else { |
|
| 116 | 114 | $path = ''; |
| 117 | 115 | } |
| 118 | 116 | batch_process($path); |
| 119 | - } |
|
| 120 | - else { |
|
| 117 | + } else { |
|
| 121 | 118 | drush_backend_batch_process(); |
| 122 | 119 | } |
| 123 | 120 | |