/[drupal]/contributions/modules/og_blueprints/og_blueprints.module
ViewVC logotype

Diff of /contributions/modules/og_blueprints/og_blueprints.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.20, Mon Sep 15 19:25:47 2008 UTC revision 1.1.2.21, Tue Feb 17 07:50:26 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: og_blueprints.module,v 1.1.2.19 2008/09/15 18:43:14 sdboyer Exp $  // $Id: og_blueprints.module,v 1.1.2.20 2008/09/15 19:25:47 sdboyer Exp $
3    
4  /**  /**
5   * @file og_blueprints.module   * @file og_blueprints.module
# Line 1387  function og_blueprints_form_alter($form_ Line 1387  function og_blueprints_form_alter($form_
1387        // trust them, and keep this here for easy testing if the API goes screwy.        // trust them, and keep this here for easy testing if the API goes screwy.
1388        // $form['og_blueprints_data'] = array('#type' => 'value', '#value' => array('old_type' => $form['type']['#value'], 'old_og_usage' => $form['og_content_type_usage']['#value']));        // $form['og_blueprints_data'] = array('#type' => 'value', '#value' => array('old_type' => $form['type']['#value'], 'old_og_usage' => $form['og_content_type_usage']['#value']));
1389        break;        break;
1390      case 'node_delete_confirm':      case 'node_type_delete_confirm':
1391        $node = node_load($form['nid']['#value']);        $type = $form['type']['#value'];
1392        if (og_is_group_type($node->type)) {        if (og_is_group_type($type)) {
1393          $bundle = new og_bundle_type_remover($node->type);          $bundle = new og_bundle_type_remover($type);
1394          og_blueprints_bundle_removal_form($form, $bundle);          og_blueprints_bundle_removal_form($form, $bundle);
1395        }        }
1396        break;        break;

Legend:
Removed from v.1.1.2.20  
changed lines
  Added in v.1.1.2.21

  ViewVC Help
Powered by ViewVC 1.1.2