Skip to content

Commit

Permalink
rework problem statement and project content type features
Browse files Browse the repository at this point in the history
  • Loading branch information
sheldonrampton committed Mar 18, 2013
1 parent 4c09eee commit 29e3587
Show file tree
Hide file tree
Showing 19 changed files with 402 additions and 532 deletions.
8 changes: 8 additions & 0 deletions modules/custom/ocsetup/ocsetup.module
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ function ocsetup_form_submit($form, &$form_state) {
)
);
ocsetup_aliases();
drupal_flush_all_caches();
break;

case 'appcat_default_content':
Expand Down Expand Up @@ -163,6 +164,13 @@ function ocsetup_form_submit($form, &$form_state) {
break;

case 'ochack':
features_install_modules(
array(
'ochack_problem',
'ochack_project',
)
);
drupal_flush_all_caches();
break;

case 'ochack_default_content':
Expand Down
2 changes: 2 additions & 0 deletions modules/features/appcat_misc/appcat_misc.module
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ function appcat_misc_features_export_alter(&$export, $module_name) {
$content_definition_modules = array(
'appcat_application_content',
'appcat_organization_content',
'ochack_problem',
'ochack_project',
);
if (in_array($module_name, $content_definition_modules) && isset($export['features']['taxonomy']) && isset($export['features']['uuid_term'])) {
unset($export['features']['taxonomy']);
Expand Down
165 changes: 0 additions & 165 deletions modules/features/appcat_problem/appcat_problem.features.inc

This file was deleted.

62 changes: 0 additions & 62 deletions modules/features/appcat_problem/appcat_problem.info

This file was deleted.

7 changes: 0 additions & 7 deletions modules/features/appcat_problem/appcat_problem.module

This file was deleted.

7 changes: 0 additions & 7 deletions modules/features/appcat_project/appcat_project.module

This file was deleted.

Loading

0 comments on commit 29e3587

Please sign in to comment.