/[drupal]/contributions/modules/ecommerce/ec_product/ec_product.admin.inc
ViewVC logotype

Diff of /contributions/modules/ecommerce/ec_product/ec_product.admin.inc

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

revision 1.10.2.25 by davea, Thu Oct 22 11:22:04 2009 UTC revision 1.10.2.26 by gordon, Mon Nov 9 12:30:46 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ec_product.admin.inc,v 1.10.2.24 2009/10/18 14:18:20 davea Exp $  // $Id: ec_product.admin.inc,v 1.10.2.25 2009/10/22 11:22:04 davea Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 427  function ec_product_admin_ptypes_form_su Line 427  function ec_product_admin_ptypes_form_su
427          unset($ptypes[$pos]);          unset($ptypes[$pos]);
428        }        }
429        variable_set('ec_product_ptypes_'. $type, $ptypes);        variable_set('ec_product_ptypes_'. $type, $ptypes);
430    
431    
432        }
433        if (isset($form_state['values']['old_ptype'])) {
434          drupal_set_message(t('Product type %ptype updated', array('%ptype' => $form_state['values']['ptype'])));
435        }
436        else {
437          drupal_set_message(t('New product type %ptype created', array('%ptype' => $form_state['values']['ptype'])));
438      }      }
439    }    }
440    $form_state['redirect'] = 'admin/ecsettings/products/types';    $form_state['redirect'] = 'admin/ecsettings/products/types';
441    
442      menu_rebuild();
443  }  }
444    
445  /**  /**

Legend:
Removed from v.1.10.2.25  
changed lines
  Added in v.1.10.2.26

  ViewVC Help
Powered by ViewVC 1.1.3