/[drupal]/contributions/modules/media_mover/media_mover_api.module
ViewVC logotype

Diff of /contributions/modules/media_mover/media_mover_api.module

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

revision 1.1.2.110.2.69, Sun Nov 1 15:58:06 2009 UTC revision 1.1.2.110.2.70, Sun Nov 1 17:19:47 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  /* $Id: media_mover_api.module,v 1.1.2.110.2.68 2009/10/30 15:23:00 arthuregg Exp $ */  /* $Id: media_mover_api.module,v 1.1.2.110.2.69 2009/11/01 15:58:06 arthuregg Exp $ */
4    
5    
6  /*  /*
# Line 2487  function media_mover_api_config_delete_c Line 2487  function media_mover_api_config_delete_c
2487      '#value' => $cid,      '#value' => $cid,
2488    );    );
2489    
2490    
2491    
2492    return confirm_form(    return confirm_form(
2493      $form,      $form,
2494      t('Are you sure you want to delete this configuration?'),      t('Are you sure you want to delete this configuration?'),
# Line 2956  function media_mover_api_file_delete_con Line 2958  function media_mover_api_file_delete_con
2958    
2959    // delete the file cache for this node    // delete the file cache for this node
2960    if ($file['nid']) {    if ($file['nid']) {
2961      cache_clear_all('media_mover_files_node_'. $file['nid'], 'cache_media_mover');      cache_clear_all('media_mover_files_node_'. $file['nid'], 'cache_media_mover', true);
2962    }    }
2963    // now delete the file from the db    // now delete the file from the db
2964    db_query('DELETE FROM {media_mover_files} WHERE mmfid = %d', $form['mmfid']['#value']);    db_query('DELETE FROM {media_mover_files} WHERE mmfid = %d', $form['mmfid']['#value']);

Legend:
Removed from v.1.1.2.110.2.69  
changed lines
  Added in v.1.1.2.110.2.70

  ViewVC Help
Powered by ViewVC 1.1.2